Re: Shutdown options



Am Di, den 20.01.2004 schrieb Chipzz um 14:34:
> On Tue, 20 Jan 2004, Sven Herzberg, GNOME Deutschland wrote:
> > Am So, den 18.01.2004 schrieb Tom Lamm um 21:59:
> > My way:
> >
> > addgroup --system shutdown
> > adduser herzi shutdown (do this for every user herzi who should be able
> > to shutdown the machine)
> > chown root
> 
> You're missing something here ;)

ups:
chown root:shutdown /sbin/halt /sbin/reboot /sbin/shutdown

> > 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.

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]