On Sat, Nov 02, 2002 at 09:51:29AM -0800, Peter C. Norton wrote:
> You can also look at the sudo command, or djb's setuidgid program as
> ways of not having to write your own setuid wrapper.
Yes you are right. It is possible to do it on RedHat box in this way:
change the last line in /usr/lib/courier-imap/libexec/authlib/authdaemon
from
exec $DIR/$AUTHDAEMOND $1
to
su imap -s /bin/bash -c "exec $DIR/$AUTHDAEMOND $1"


Guys, don't you plan add this feature of changing user which owns the
whole courier-imap to some nice option in configuration file? Because
now it is quite a big hack. And unskilled user like me would be allways
asking how to do it.

-- 
Peter "Hanus" Hanusiak
E-mail: [EMAIL PROTECTED]
HomePage: http://www.hanusiak.sk
Phone: +421905504772


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

Reply via email to