Sam Varshavchik writes:
> Bryan Ross writes: 
> 
> > /usr/lib/courier/sbin/makehosteddomains is owned by courier.admin and has
> > been chmod'd u+s.
> 
> makehosteddomains is a script, not a binary executable.  setuserid bit has 
> no effect on scripts. 
> 

Hmmm... sometimes if a script starts with "#!/bin/sh -p"
one can get much of the effect the setuid bit should do.

However, I wouldn't recommend using setuid scripts to set
permissions, because a wrapper script is more secure and
more maintainable.

Ciao
Ale

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to