harshavardhanreddy mandeepala wrote:
hi
I am using Linux fedora core 3.
I want to shutdown the system from .bash_profile file
using
cd /sbin
./shutdown -g o
but when I run the file otherthan a superuser it is giving error message as
" to run "shutdown" u must be a root"
but i want to execute shutdown command as a non root user (Ex: guest)
Even i have used command for changing the ownership as
chown "guest" /root -R Still it is giving error.
Is there any other way to shutdown other than .bash_profile from user
"guest".
How can i give full permissions to my user "guest" as equal as
"root" ,so that i can run "shutdown" command.
This is a list for Fedora development. Ask in the users list
http://fedoraproject.org/wiki/PostIsOffTopic
regards
Rahul