Russ Allbery writes:
 > Simon Casady <[EMAIL PROTECTED]> writes:
 > 
 > > I have never understood this one.  The obvious answer is to put code
 > > into qmail-start to read the password file for the proper ids and pass
 > > them on to the programs it starts.  No config files, standard Unix
 > > functions, no problems with binary installs.
 > 
 > And a potential network access on start to do NIS lookups.

Indeed, this would be a bad idea.  Better: extract them from UIDs
stored in the queue filesystem.  If you can't trust the ownership of
local files, you can't trust *anything* (chown $USER /etc/passwd;echo
'0::0:::::' >>/etc/passwd).

http://www.qcc.sk.ca/~bguenter/distrib/qmail+patches/autouidgid.patch

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok |   There is good evidence
521 Pleasant Valley Rd. | +1 315 268 1925 voice |   that freedom is the
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   |   cause of world peace.

Reply via email to