On Wed, Jan 19, 2005 at 08:03:36PM +0000, Miquel van Smoorenburg wrote: > In article <[EMAIL PROTECTED]>, > Peter Samuelson <[EMAIL PROTECTED]> wrote: > >[Otto Wyss] > >> I've set the s attrtibute of halt since on my desktop any user may > >> stop the system. But about each second month or so it's set back to > >> it's original rights probably by a package upgrade. Is there a way to > >> keep the access rights or any better way to handle these kind of > >> problems. > > > >dpkg-statoverride --add root root 02755 /sbin/halt > > Note that making random programs like "halt" setuid root might > be a serious security hole. >
I find ctrl-alt-del quite nice in these cases, changing a bit /etc/inittab and using acpi/apm to powerdown. Any decent login manager allows system actions, btw. -- Francesco P. Lovergine -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

