Linux does not allow setuid shell scripts.
You need to write a small C program to exec that
script and chmod u+s that C program generated binary.
--- Sandip Bhattacharya <[EMAIL PROTECTED]> wrote:
> I have made a small shell script to parse the log
> files to give me some
> stats. But for a normal user it doesn't give access
> to the
> /var/log/messages file. So I set uid root for the
> file so that it's
> permissions become
>
> -rwsrwxr-x 1 root root
>
> But still the normal user is not able to use the
> script. What am I
> missing?
> - Sandip
> --
> Sandip Bhattacharya
> [EMAIL PROTECTED]
> Hope 16 Web Solutions
> ICQ: 38380743
> ----------------------
>
>
>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com