Re: shutdown as user
On Sat, Jul 07, 2001 at 02:31:21PM +0200, Timeboy wrote:
>
> Hi!
>
> What can i do to use shutdown as normal user?
There are different ways...
One way is to use "sudo". Some people like it, others are scared of
it. Read the acrhives and you decide for yourself. Refer to the
current thread about shared root.
Here is another way... edit /etc/inittab. There is a line:
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
change it to:
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now
Then if you walk up to the console an hit CONTROL-ALT-DELETE it will
shutdown (if X isn't running). Not elegant, but it works, and doesn't
introduce any new security issues.
--
Thank you,
Joe Bouchard
Powered by Debian GNU/Linux
Reply to: