in reply to Re: permisson prob in suid script
in thread permisson prob in suid script

Thanks for your interest in my problem...I am actually blocked...and now facing other problem..after your reply i tried to print the $< and $> varaibles, but surprise, they are both the same..i dont understand, the suid bit is set and the real user id must be different than the effective user id. And i did run the script as a third user. Thanks for your response in Advance!!

Replies are listed 'Best First'.
Re^3: permisson prob in suid script
by pbeckingham (Parson) on Jun 23, 2004 at 17:21 UTC

    Can you look at the file permissions? You should see something like:

    % ls -l file -rwsr-xr-x owner group ... file
    And if you don't see that, you can achieve with the following command, run as root:
    % chmod 6755 file