Poweroff as a normal user
Dear All,
i wrote a shell script to poweroff all my machines in my lab, In my lab every machines hold a student user account.Due to some reasons i am setting up this script to run as student user.But in some rhel-4 machines the output of the script shows "poweroff: must be superuser".what is the problem? how can i poweroff my machine while login as a normal user (without setting sudo).?.
Advaned Thanks
|