> > Am 2010-04-06 04:24:31, hackte Michelle folgendes herunter:
> >>
> >> and it is set SUID as described in "man 7 localmailfilter":
> >>
> >>     -rwsrwsr-x 1 1000 1000 541  3. Apr 08:37 tdtools-courier-filter

> On 04/06/10 04:36, Michelle Konzack wrote:
> > Seting this to UID/GID 0 does not work too.

On 06.04.10 07:25, Martin Schuster (IFKL IT OS DSM CD) wrote:
> setuid doesn't work for scripts (i.e. programs that get started
> using the interpreter specified in the #!-line).

it does, but some programs like {{b}a}sh tend to reset the UID unless you
call them with -p option.

you can try 

#!/bin/sh -p

if that helps.
-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux IS user friendly, it's just selective who its friends are...

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to