root password to reboot

If none of the more specific forums is the right place to ask

root password to reboot

Postby hyrral » 2006-06-11 19:50

How can I get Debian to reboot or shut down without using the root password?
Thanking you in advance
Posts: 4
Joined: 2006-05-10 11:24
Location: Indiana, USA

Postby tim » 2006-06-11 20:27

If you're using kde, go to control center>system administration>login manager, and under "shutdown" "local" you can choose to allow people other than root to shut down your machine.
Grieve not for happy Claudius, he is dead;
And empty is his skull.
Pity no longer, arm-in-arm with Dread,
Walks that polished hall.

Joy, too, is fled.
But no man can have all.

--Edna St. Vincent Millay
Posts: 236
Joined: 2004-03-13 02:18
Location: New Mexico

Postby lacek » 2006-06-11 20:51

If you want to do this from the console, edit your /etc/inittab, and replace this line:
Code: Select all
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

to this:
Code: Select all
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now

Reload inittab with the
Code: Select all
init q

command. After that, pressing ctr+alt+del at the console halts the system.
Moderator Team Member
Posts: 769
Joined: 2004-03-11 18:49
Location: Budapest, Hungary

Return to General Questions

Who is online

Users browsing this forum: No registered users and 10 guests