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

Re: /sbin/halt always changes its access rights



In article <[🔎] 20050118195938.GH13154@p12n.org>,
Peter Samuelson  <peter@p12n.org> 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.

Mike.



Reply to: