[gentoo-user] non-sudo way for user to run shutdown -h now? (or any equivalent)

2005-07-20 Thread Mark Knecht
Hi, I'm trying to get my mythfrontend box to allow a user to shut the machine down without the use of a keyboard. We are only using remote controls. suso doesn't seem to be an option because it requires a password. (AFAICT) Is there some other way that I could make this work? I took a

Re: [gentoo-user] non-sudo way for user to run shutdown -h now? (or any equivalent)

2005-07-20 Thread Richard Fish
Mark Knecht wrote: Hi, I'm trying to get my mythfrontend box to allow a user to shut the machine down without the use of a keyboard. We are only using remote controls. suso doesn't seem to be an option because it requires a password. (AFAICT) Is there some other way that I could make this

Re: [gentoo-user] non-sudo way for user to run shutdown -h now? (or any equivalent)

2005-07-20 Thread Mark Knecht
On 7/20/05, Richard Fish [EMAIL PROTECTED] wrote: Mark Knecht wrote: Hi, I'm trying to get my mythfrontend box to allow a user to shut the machine down without the use of a keyboard. We are only using remote controls. suso doesn't seem to be an option because it requires a password.

Re: [gentoo-user] non-sudo way for user to run shutdown -h now? (or any equivalent)

2005-07-20 Thread Wade Brown
I thought linux wouldn't allow suid shell scripts to work as suid. The reasoning is a shell script doesn't quite execute, it gets interpeted by the command on the first line. Just as a test I made a simple script modded root.root 4755 that consists of the /bin/bash line, and cat /etc/shadow.

Re: [gentoo-user] non-sudo way for user to run shutdown -h now? (or any equivalent)

2005-07-20 Thread Rafer
On Wednesday 20 July 2005 19:29, Mark Knecht wrote: Hi, I'm trying to get my mythfrontend box to allow a user to shut the machine down without the use of a keyboard. We are only using remote controls. suso doesn't seem to be an option because it requires a password. (AFAICT) Is there

Re: [gentoo-user] non-sudo way for user to run shutdown -h now? (or any equivalent)

2005-07-20 Thread Richard Fish
Wade Brown wrote: I thought linux wouldn't allow suid shell scripts to work as suid. The reasoning is a shell script doesn't quite execute, it gets interpeted by the command on the first line. Just as a test I made a simple script modded root.root 4755 that consists of the /bin/bash line, and

Re: [gentoo-user] non-sudo way for user to run shutdown -h now? (or any equivalent)

2005-07-20 Thread Richard Fish
Mark Knecht wrote: I don't know how this is much of a security issue for me, but then again I don't know much about security, and I suppose it could be if someone plugs a keyboard in and wants to cause some harm. Shame on them, but good of you to consider it. It isn't. I mostly included

Re: [gentoo-user] non-sudo way for user to run shutdown -h now? (or any equivalent)

2005-07-20 Thread Iain Buchanan
On Wed, 2005-07-20 at 11:06 -0700, Mark Knecht wrote: On 7/20/05, Richard Fish [EMAIL PROTECTED] wrote: Mark Knecht wrote: Hi, I'm trying to get my mythfrontend box to allow a user to shut the machine down without the use of a keyboard. We are only using remote controls. suso