Re: begone ctrlaltdel!

2000-07-09 Thread Ethan Benson
On Sat, Jul 08, 2000 at 11:43:44PM -0400, Bob Bernstein wrote: Suppose I want to dis-able the three fingered salute. Is it sufficient to simply comment out this line in /etc/inittab: # What to do when CTRL-ALT-DEL is pressed. ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now i am uncertain

Re: begone ctrlaltdel!

2000-07-09 Thread [EMAIL PROTECTED]
i like to remap ctrl-alt-del to go to runlevel 1, i set: ca:12345:ctrlaltdel:/sbin/init 1 i find it quite useful if something in startup hangs i can just go straight to runlevel 1 or if something crashes i can go there easily too, much faster then a reboot for me(it takes my machine a full 2

Re: begone ctrlaltdel!

2000-07-09 Thread Lehel Bernadt
On 09-Jul-2000 Ethan Benson wrote: On Sat, Jul 08, 2000 at 11:43:44PM -0400, Bob Bernstein wrote: Suppose I want to dis-able the three fingered salute. Is it sufficient to simply comment out this line in /etc/inittab: # What to do when CTRL-ALT-DEL is pressed.

Re: begone ctrlaltdel!

2000-07-09 Thread Neuro
, 2000 12:33 PM Subject: Re: begone ctrlaltdel! On 09-Jul-2000 Ethan Benson wrote: On Sat, Jul 08, 2000 at 11:43:44PM -0400, Bob Bernstein wrote: Suppose I want to dis-able the three fingered salute. Is it sufficient to simply comment out this line in /etc/inittab: # What to do when CTRL

Re: begone ctrlaltdel!

2000-07-09 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED], Bob Bernstein [EMAIL PROTECTED] wrote: I am finding the latter to be correct here. The '-a' arg to shutdown strikes me as not very useful, since the presence of a root login will circumvent whatever is in /etc/shutdown.allow. It would seem to me that it is precisely

Re: begone ctrlaltdel!

2000-07-09 Thread Bob Bernstein
On Sun, Jul 09, 2000 at 05:45:42PM +, Miquel van Smoorenburg wrote: But.. you have an open root shell! That someone presses ctrl-alt-del is the least of your worries, they could simply enter shutdown -r now. Or rm -rf /. Or echo 'toor::0:0::/: /etc/passwd. Or I guess I had in the

Re: begone ctrlaltdel!

2000-07-09 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED], Bob Bernstein [EMAIL PROTECTED] 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

Re: begone ctrlaltdel!

2000-07-09 Thread Ethan Benson
On Sun, Jul 09, 2000 at 03:13:11PM -0400, Bob Bernstein wrote: 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?) you could put one of the system account names in /etc/shutdown.allow say bin who

Re: begone ctrlaltdel!

2000-07-09 Thread Bob Bernstein
On Sun, Jul 09, 2000 at 08:27:20PM +, Miquel van Smoorenburg wrote: 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.. Ummm...yup. And with that I have met my quota for dumb

Re: begone ctrlaltdel!

2000-07-09 Thread Peter Palfrader
Hi! On Sun, 09 Jul 2000, Bob Bernstein wrote: I suppose the moral of the story is, Don't leave root logins unattended. (But wouldn't it be simpler to have, as a possible line in /etc/shutdown.allow, none?) May I quote the man page[1]? [...] If shutdown is called with the -a argument (add

Re: begone ctrlaltdel!

2000-07-09 Thread Mike Werner
Bob Bernstein wrote: snip 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?) In other words you want to completely disable the Ctrl-Alt-Del combo? I'm not sure if this would work, but perhaps

Re: begone ctrlaltdel!

2000-07-09 Thread Bob Bernstein
On Sun, Jul 09, 2000 at 01:35:12PM -0800, Ethan Benson wrote: (if you want to see something interesting though try this: fakeroot /sbin/shutdown -r now) The hard drive spun, a beep was emitted, and the process ground to a stunning halt. I am deciphering the error messages now. g All kidding

Re: begone ctrlaltdel!

2000-07-09 Thread Ron Rademaker
I changed my line to ca:12345:ctrlaltdel:/bin/echo Won't work (The line echo outputs is changed different, but means the same, it's dutch..) Ron Rademaker On Sun, 9 Jul 2000, Mike Werner wrote: Bob Bernstein wrote: snip I had in mind 'none' in the sense of no one can use Ctrl-Alt-Del.

begone ctrlaltdel!

2000-07-08 Thread Bob Bernstein
Suppose I want to dis-able the three fingered salute. Is it sufficient to simply comment out this line in /etc/inittab: # What to do when CTRL-ALT-DEL is pressed. ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now or should another command be substituted for /sbin/shutdown, and if so, which one?