Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Linux Software => Linux Application => Topic started by: msm124 on July 09, 2007, 10:12:52 AM

Title: GNOME user can not shutdown from "action" field
Post by: msm124 on July 09, 2007, 10:12:52 AM
hi,
I have installed redhat WS 4 installed on my system. after installing oracle on my machine i am facing following problem. when any user other than root is logged in from the desktop using action button user can not shutdown or reboot the machine. when trying shutdown or reboot error message flashed on screen is "Insufficient rights" and upon clicking on "OK" user will log off and logon screen is again displayed. root user can reboot or shutdown from desktop. I am using GNOME as my desktop

can anyone suggest me an answer ?
Title: Re: GNOME user can not shutdown from "action" field
Post by: Ricky on July 09, 2007, 12:22:12 PM
Can user do this using CLI ?
ie. by typing "init 0" etc ?
Title: Re: GNOME user can not shutdown from "action" field
Post by: msm124 on July 10, 2007, 07:59:51 AM
no, user can not do init 0" or "shutdown" command from CLI. same error message comes on CLI also "permission denied"

thanks for reply. pls suggest some solution
- Mehul
Title: Re: GNOME user can not shutdown from "action" field
Post by: Ricky on July 10, 2007, 04:30:02 PM
Try -

Code: [Select]
/sbin/shutdown -h now
if that doesnt work then as root do ...
Code: [Select]
chmod a+s /sbin/shutdown
then again try to execute above command as normal user.
Title: Re: GNOME user can not shutdown from "action" field
Post by: msm124 on July 12, 2007, 07:59:03 AM
hi,
after trying
#chmod a+s /sbin/shutdown
warning message "insufficient rights" went off, but still user can not shutdown instead when given shutdown from action menu, user logs off and logon screen appears again.

Title: Re: GNOME user can not shutdown from "action" field
Post by: msm124 on July 12, 2007, 08:03:39 AM
add to previous reply user can shutdown system from cli but not trhough desktop after changing
#chmod a+s /sbin/shutdown