setuid Help
Hello,
I want to change the setuid of a file to root...how do I do this? I know I have to use chmod and the option is `s` but I don't know how to put all this together, the man pages are not clear. Thanks for the help Later |
Hi,
It's chmod u+s <filename> John |
so if I wanted to change crazymofo.pl setuid to root I would do:
chmod u+s crazymofo.pl Wait.....I just got it. I didn't understand what setuid was until now! It just hit me. I thought I had to give setuid a value like root, but setuid allows the file to change to any username....right? Thanks for your help. Later |
All times are GMT -5. The time now is 04:21 AM. |