Re: Shutting down as a user
thanks to all of you for the many helpful suggestions. In the end I've
complied with the method of Francisco Neto which is IMHO the tidiest.
Here it is enclosed.
----- Forwarded message from francisco m . neto
I suggest a different approach. Still lon /etc/inittab, you
can put another entry, for the keyboard request:
kb::kbrequest:/sbin/shutdown -h -a -t0 now
(Remember to comment out the existing kb:: etc line)
The '-a' option tells shutdown to use an authorization file
at /etc/shutdown.allow. In this file, you put the usernames you want
to be allowed to reboot/halt the machine.
When logged in, press Alt+<UpArrow> to halt the system with
the Keyboard Request.
francisco m. neto
"Toke au kokoro ga, watashi o kowasu."
-- Ayanami Rei
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact
----- End forwarded message -----