On Sun, Mar 14, 1999 at 06:00:01PM -0800, Dave wrote:
> Anyone know who checkpassword runs as? Isn't it the user?
> 
> If so, any ideas on how to modify a tcp.smtp file after checkpassword
> succeeds? Only way I see to do it is open up permissions on the file, which
> doesn't help when running tcprules (resets them).
> 
> my modified checkpassword auths the user then execl()'s a script to add
> $TCPREMOTEIP to the tcp.smtp file if it does not exist.
> 
> Any help is greatly appreciated

checkpassword has to run as root, so that it can check passwords. It also has
to be able to exec qmail-pop3d with another user's uid, once that user is
authenticated.

Chris

Reply via email to