On Fri, Nov 29, 2002 at 04:37:48PM +0100, Peter Saenger wrote:
> For security reasons I would like to run the daemons as a nonroot user.
> 
> But when executing
> 'sudo -u courier /etc/init.d/pop3d start'
> it fails with
> ----
> bind: Permission denied
> ll_daemon_start: Resource temporarily unavailable
> ----
> 
> This is clearly because only root is allowed to bind a port below 1024.
> 
> So courier should first bind to port 110 or 143 and after that switch user to 
> 'courier' (as e.g. mysqld does).
> 
> Does anyone know, if there is a patch for that problem available?

No patch is required: man 1 couriertcpd

In your pop3d configuration file change TCPDOPTS to:

TCPDOPTS="-nodnslookup -noidentlookup -user=courier"


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to