Re: Bounce a few ideas off



robert havoc pennington <rhpennin@midway.uchicago.edu> writes:

> > For su, why not write a version that allows the plaintext password
> > to be provided via stdin. (_not_ by the command line! ps auxw...)
> >
 
> (I don't remember it using stdin at all, so it should be trivial, no
> preexisting functionality to interfere.)

Hmm, for programs that do use fd 0 = stdin, it could be possible to
extend the 0/1/2 fd convention to, say, fd 3 = passwd.  I think qmail
does this for some authentication helpers.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]