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

Re: begone ctrlaltdel!



In article <cistron.20000709151311.A883@hoopla.ruptured-duck.org>,
Bob Bernstein  <poobah@ruptured-duck.com> wrote:
>> >(But wouldn't it be simpler to have, as a possible line in
>> >/etc/shutdown.allow, "none"?)
>> 
>> Simply don't use the -a switch then.
>
>I had in mind 'none' in the sense of "no one can use Ctrl-Alt-Del." Without
>the -a switch it's available to everyone. (Am I missing something here?)

Ok, in that case, simply comment out the shutdown line in /etc/inittab

>Quite apart from all this, any user who knows the path '/sbin/shutdown' can
>execute it, at least with the permissions shutdown has by default.
>Eliminating this kind of possibility was the reason I started looking into
>the ctrlaltdel business. Which brings me to ask, is there a reason shutdown
>has -rwxr-xr-x perms?

Why not ? If you aren't root you can execute it but it won't
do anything useful..

Mike.



Reply to: