On Thu, Sep 27, 2001 at 02:47:50AM +0200, Walter Wieserner wrote:
> I'm using qmail-pop3d as pop-Server and Courier-Imap for IMAP
> i'm starting the qmail-ldap with the supervise Daemon (life with
> qmail-ldap)
> my entry for the pop3-server is 
> 
> ------------script run.sh-----------------------
> export DEBUGLEVEL=150
> QMAILDUID=`id -u root`
> NOFILESGID=`id -g  root`
> exec /usr/bin/tcpserver -u "$QMAILDUID" -g "$NOFILESGID" -v -c100 -H -R
> 0 pop-3\ /var/qmail/bin/qmail-popup mail.domain.com \
> /var/qmail/bin/auth_pop /var/qmail/bin/qmail-pop3d Maildir 2>&1
> -------------------------------------------------------------------------
> 
> I need to run qmail-pop3d as ID root,otherwise it don't works for me

That's quite clear. A setuid to the user's ID is performed, and only root is
allowed to do so.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de    *
* BS Web Services, Roedingsmarkt 14, 20459 Hamburg, Germany *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

Reply via email to