Re: Problem with '/etc/shutdown.allow'

2000-10-19 Thread Andreas Hetzmannseder
Carel Fellinger schrieb: > [...] > You see, shutdown really needs root privilege, soit. > So either you use the suid trick on /sbin/shutdown (better not, and if not > then there is no need to have shutdown (/sbin) in your path either), > or signal some process running with root privilege to call sh

Re: Problem with '/etc/shutdown.allow'

2000-10-18 Thread Carel Fellinger
Hai Andreas, On Tue, Oct 17, 2000 at 07:13:55PM +0200, Andreas Hetzmannseder wrote: > Carel Fellinger wrote: ... > > shutdown isn't in your PATH, but even if it were it has no SUID flag so > > it won't do you no good. > > You are absolutely right. Well I wouldn't believe it, so I had to see > for

Re: Problem with '/etc/shutdown.allow'

2000-10-18 Thread Andreas Hetzmannseder
Ethan Benson wrote: > > [...] > normally anyone whether anyone is logged into the console or not can > press control alt delete and reboot the system (if you have that line > in inittab) adding shutdown.allow changes this so that > control-alt-delete only works when a listed user is logged into a

Re: Problem with '/etc/shutdown.allow'

2000-10-18 Thread Miquel van Smoorenburg
In article <[EMAIL PROTECTED]>, Brian May <[EMAIL PROTECTED]> wrote: >It looks like (to me) that making shutdown setuid root means anybody >can shutdown the computer, from any location, as /etc/shutdown.allow >is only checked when -a is passed. Am I wrong? No, that is correct. Shutdown wasn't rea

Re: Problem with '/etc/shutdown.allow'

2000-10-17 Thread Ethan Benson
On Wed, Oct 18, 2000 at 09:54:23AM +1100, Brian May wrote: > > It looks like (to me) that making shutdown setuid root means anybody > can shutdown the computer, from any location, as /etc/shutdown.allow > is only checked when -a is passed. Am I wrong? no you are correct, if you make shutdown suid

Re: Problem with '/etc/shutdown.allow'

2000-10-17 Thread Brian May
> "Ethan" == Ethan Benson <[EMAIL PROTECTED]> writes: Ethan> On Tue, Oct 17, 2000 at 01:56:16PM +1100, Brian May wrote: >> Wrong - shutdown.allow has no affect for ctrl+alt+del. You can >> press this even if you are not logged in. Ethan> Wrong, the existance of /etc/shutdown.a

Re: Problem with '/etc/shutdown.allow'

2000-10-17 Thread Andreas Hetzmannseder
Hello, Carel! You should have received the following message earlier, but somehow it was lost. Here it is again: Carel Fellinger wrote: > > On Mon, Oct 16, 2000 at 06:26:20PM +0200, Andreas Hetzmannseder wrote: > > Hello, debian-users! > > > > There are two users on my debian system, who I want t

Re: Problem with '/etc/shutdown.allow'

2000-10-17 Thread Ethan Benson
On Tue, Oct 17, 2000 at 01:56:16PM +1100, Brian May wrote: > Wrong - shutdown.allow has no affect for ctrl+alt+del. You > can press this even if you are not logged in. Wrong, the existance of /etc/shutdown.allow means that a listed user must be logged in on any of the console tty's for control-al

Re: Problem with '/etc/shutdown.allow'

2000-10-16 Thread Brian May
> "Carel" == Carel Fellinger <[EMAIL PROTECTED]> writes: Carel> I've just read the Fine Manual just to please you:) and I Carel> think it only effects Ctrl-Alt-Del from the console, not Carel> calling shutdown from the command-line unless you make it a Carel> SUID program. (for

Re: Problem with '/etc/shutdown.allow'

2000-10-16 Thread Ethan Benson
On Tue, Oct 17, 2000 at 01:23:47AM +0200, Andreas Hetzmannseder wrote: > > Sorry, Ivan, I didn't make this very clear. I *do* want to use > Ctrl-Alt-Del. I just wanted to point out that it is behaving > differently, since I have '/etc/shutdown.allow'. Now I have to be logged > in at least as a nor

Re: Problem with '/etc/shutdown.allow'

2000-10-16 Thread Andreas Hetzmannseder
"Kasatenko Ivan Alex." wrote: > > Hello Andreas, > > Monday, October 16, 2000, 8:26:20 PM, you wrote: > > AH> There are two users on my debian system, who I want to be able to reboot > AH> and halt without being root. For this purpose I created > AH> /etc/shutdown.allow with the corresponding us

Re: Problem with '/etc/shutdown.allow'

2000-10-16 Thread Carel Fellinger
On Mon, Oct 16, 2000 at 06:26:20PM +0200, Andreas Hetzmannseder wrote: > Hello, debian-users! > > There are two users on my debian system, who I want to be able to reboot > and halt without being root. For this purpose I created > /etc/shutdown.allow with the corresponding user names. Now when I p

Re: Problem with '/etc/shutdown.allow'

2000-10-16 Thread Kasatenko Ivan Alex.
Hello Andreas, Monday, October 16, 2000, 8:26:20 PM, you wrote: AH> There are two users on my debian system, who I want to be able to reboot AH> and halt without being root. For this purpose I created AH> /etc/shutdown.allow with the corresponding user names. Now when I press AH> Ctrl-Alt-Del the

Problem with '/etc/shutdown.allow'

2000-10-16 Thread Andreas Hetzmannseder
Hello, debian-users! There are two users on my debian system, who I want to be able to reboot and halt without being root. For this purpose I created /etc/shutdown.allow with the corresponding user names. Now when I press Ctrl-Alt-Del the system will reboot as expected - although I have to be logg