Quote:
Originally Posted by itz2000
login as root once and do :
chmod u+s /sbin/shutdown
now, when you'll do:
/sbin/shutdown (args) it will work as a user.
sticky-bit will be easier in this case.
|
Yes this has worked for me I mean after following your instructions I was able to run the shutdown command using the init login on my server.
Ajit