Re: Shutdown options



Am So, den 18.01.2004 schrieb Tom Lamm um 21:59:
> There had been talk of allowing the option of shutting down the computer when  
> the user selects Actions/Logoff. One version I installed for my brother did  
> this.

My way:

addgroup --system shutdown
adduser herzi shutdown (do this for every user herzi who should be able
to shutdown the machine)
chown root
chmod ug+s /sbin/shutdown /sbin/halt /sbin/reboot
create a small script that creates /var/run/console/herzi for every user
herzi during startup.

I might start to create a small platform independent debian package for
this later.

Regards,
  Sven
-- 
Sven Herzberg <herzi gnome-de org> · Jabber: herzi jabber org
GNOME Deutschland                  · http://www.gnome-de.org/

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]