Re: Shutdown options

On Tue, 20 Jan 2004, Sven Herzberg, GNOME Deutschland wrote:

> From: "Sven Herzberg, GNOME Deutschland" <herzi gnome-de org>
> Subject: 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

You're missing something here ;)

> 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


Chipzz AKA
Jan Van Buggenhout

                 UNIX isn't dead - It just smells funny
                           Chipzz ULYSSIS Org

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