Forum Home
Press F1
 
Thread ID: 24823 2002-09-19 22:31:00 Linux - Debian - halt... Shroeder (492) Press F1
Post ID Timestamp Content User
81116 2002-09-19 22:31:00 Have installed Debian Woody to see what its like (compared to RH7.3)

However...
After a session in (say) Gnome as a user and I want to turn off, then I go to *log off* but it only gives an option to log off - no option to shutdown/halt

When I log off it brings up a Log on screen where I can log on to any of the windows styles (KDE/Gnome/Xsession) but no option to shutdown???

NB: Running halt as a user doesn't work, it tells me I must be root to shutdown?

Also I can't log on from the initial logon screen as root, only as a user.

Why on earth would it load (I basically used installation defaults) so that a user cannot shutdown?

&

How do I fix it (halt is in /sbin and I did a "chmod 777 /sbin/halt" as root but I still couldn't run the halt command from user?

TIA
Shroeder (492)
81117 2002-09-20 05:37:00 what login manager are you using? KDM, WDM, GDM?

Normally only root can pershorm a shutdown, but most login managers can be configured to let anyone shutdown.
Linatux (828)
81118 2002-09-21 01:42:00 You have hit the security thing. Debian must be a bit tougher about it. In a "real" multiuser system, you don't want just any user shutting the system down. ;-)

If Ctrl/Alt/Del won't work ... which might be disabled too (look in /etc/inittab) ... try chmod +s /sbin/halt . That's the "set user ID" bit, which lets a user execute a root-owned command. That should work.
Graham L (2)
1