April 16, 2024, 04:52:34 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: GNOME user can not shutdown from "action" field  (Read 4920 times)

Offline msm124

  • Linux Noob !
  • *
  • Posts: 4
GNOME user can not shutdown from "action" field
« 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 ?

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: GNOME user can not shutdown from "action" field
« Reply #1 on: July 09, 2007, 12:22:12 PM »
Can user do this using CLI ?
ie. by typing "init 0" etc ?

Offline msm124

  • Linux Noob !
  • *
  • Posts: 4
Re: GNOME user can not shutdown from "action" field
« Reply #2 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

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: GNOME user can not shutdown from "action" field
« Reply #3 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.

Offline msm124

  • Linux Noob !
  • *
  • Posts: 4
Re: GNOME user can not shutdown from "action" field
« Reply #4 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.


Offline msm124

  • Linux Noob !
  • *
  • Posts: 4
Re: GNOME user can not shutdown from "action" field
« Reply #5 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