Hi,

I'm having problem in creating a script for executing shutdown from a
normal username:
okidz:~$ /sbin/shutdown -h now
shutdown: must be root.

I have tried to put a username in /etc/shutdown.allow and
executing "shutdown -a -h now", but unfortunately it doesn't work.

Problem is, after logging out from Gnome, the easiest way to shut the
machine down is to press ctl-alt f4, login as root, and then type the
command. I'd like to have something like SGI machines; having a username
(with password) for doing the task. Question is, how?

Pressing ctl-alt-del seems to work; it gives you a chance to log out first
(from Gnome). Nice. But unfortunately, after you choose to log out, X
quits and then gdm restarts :-(

Thanks in advance,
Oki

Reply via email to