On Thu, Feb 14, 2002 at 01:30:01PM -0800, David Wright wrote:
How can I let a normal user use the halt or shutdown command?
All the responses to this query have been ugly hacks. The right way to do
this this (put on flame-retardant suit here) is the way RedHat does: make
the halt binary
On Mon, 2002-02-18 at 07:28, Michael C. Alonzo wrote:
How can I let a normal user use the halt or shutdown command?
snip
I use super. :)
If you happen to be running GDM (I think KDM allows this as well) you
can set it up to put the shutdown and reboot commands on the login
screen, thereby
Yes, that was why i picked pico specifically, because it doesn't allow
for arbitrary shell commands. I made the mistake of initially giving
them access to VI ;-D Great idea tho, i'll look into a script like that.
On Wed, 2002-02-13 at 20:04, Anthony DeRobertis wrote:
On Wednesday, February
* Eric G. Miller (egm2@jps.net) spake thusly:
On Fri, Feb 15, 2002 at 07:26:29PM -0600, Dimitri Maziuk wrote:
* Mark Ferlatte ([EMAIL PROTECTED]) spake thusly:
On Sat, Feb 16, 2002 at 08:05:19AM +0800, csj wrote (0.28):
Anybody has the formula for using the power button to shut down the
Le 2002.02.15 02:29, Bob Thibodeau a écrit :
It's more secure than suid, but anyone with physical access to the
machine can stop it.
Anyway, someone with physical access can poweroff the machine :-)
On Fri, Feb 15, 2002 at 09:49:34AM +0100, Romuald DELAVERGNE wrote:
Le 2002.02.15 02:29, Bob Thibodeau a ?crit :
It's more secure than suid, but anyone with physical access to the
machine can stop it.
Anyway, someone with physical access can poweroff the machine :-)
Agreed, it's a pretty
According to David Wright:
Stuff like this doesn't belong in sysvinit. It belongs in an
optional package that can call shutdown, not in shutdown itself.
Let alone in the halt binary!
Fine, I wouldn't object.
But I would point out that (1) you don't loose any modularity with a pam
On Fri, Feb 15, 2002 at 11:05:27AM +0100, Miquel van Smoorenburg wrote:
According to David Wright:
Stuff like this doesn't belong in sysvinit. It belongs in an
optional package that can call shutdown, not in shutdown itself.
Let alone in the halt binary!
Fine, I wouldn't object.
to do shutdown/halt/reboot,
write a setuid wrapper program.
Mike.
--
Computers are useless, they only give answers. --Pablo Picasso
* David Wright ([EMAIL PROTECTED]) spake thusly:
Now, would you like /sbin/halt to also show a Are you really really
sure (Abort/Ignore/Retry/Fail)? dialog a few times and then count to
10 (so we could press ^C) before doing telinit 0?
I thought I said that...
If the sysadmin wants his
* Dimitri Maziuk ([EMAIL PROTECTED]) spake thusly:
..
At least, listen to Manoj
Errm, sorry, I think it was Miguel... nevermind.
Dima
--
Backwards compatibility is either a pun or an oxymoron. -- PGN
* David Roundy ([EMAIL PROTECTED]) spake thusly:
... I would want to make it
so that shutdown can only be run by users on the console (or root,
perhaps).
But... but... but... FX src=terminatorThat's what it does!/FX
Dima
--
Backwards compatibility is either a pun or an oxymoron.
On Fri, Feb 15, 2002 at 04:56:33AM -0500, Bob Thibodeau wrote:
On Fri, Feb 15, 2002 at 09:49:34AM +0100, Romuald DELAVERGNE wrote:
Le 2002.02.15 02:29, Bob Thibodeau a ?crit :
It's more secure than suid, but anyone with physical access to the
machine can stop it.
Anyway, someone with
On Sat, Feb 16, 2002 at 08:05:19AM +0800, csj wrote (0.28):
Anybody has the formula for using the power button to shut down the
machine?
I got this to work using the ACPI driver in 2.4, and acpid (Debian
package). acpid worked out of the box, once I got the apropriate acpi
kernel drivers
* Mark Ferlatte ([EMAIL PROTECTED]) spake thusly:
On Sat, Feb 16, 2002 at 08:05:19AM +0800, csj wrote (0.28):
Anybody has the formula for using the power button to shut down the
machine?
I got this to work using the ACPI driver in 2.4, and acpid (Debian
package). acpid worked out of the
On Fri, Feb 15, 2002 at 07:26:29PM -0600, Dimitri Maziuk wrote:
* Mark Ferlatte ([EMAIL PROTECTED]) spake thusly:
On Sat, Feb 16, 2002 at 08:05:19AM +0800, csj wrote (0.28):
Anybody has the formula for using the power button to shut down the
machine?
I got this to work using the ACPI
How can I let a normal user use the halt or shutdown command?
All the responses to this query have been ugly hacks. The right way to do
this this (put on flame-retardant suit here) is the way RedHat does: make
the halt binary call up pam for authenticaton and authorization and allow
the
--- David Wright [EMAIL PROTECTED] wrote:
How can I let a normal user use the halt or shutdown command?
All the responses to this query have been ugly hacks. The right way
to do
this this (put on flame-retardant suit here) is the way RedHat does:
make
the halt binary call up pam for
* David Wright ([EMAIL PROTECTED]) spake thusly:
How can I let a normal user use the halt or shutdown command?
All the responses to this query have been ugly hacks. The right way to do
this this (put on flame-retardant suit here) is the way RedHat does: make
the halt binary call up pam
* David Wright ([EMAIL PROTECTED]) [020214 13:58]:
How can I let a normal user use the halt or shutdown command?
All the responses to this query have been ugly hacks. The right way to do
this this (put on flame-retardant suit here) is the way RedHat does: make
the halt binary call up
Quoting Vineet Kumar [EMAIL PROTECTED]:
I have ctrl-alt-del set up for shutdown (reboot)
and ctrl-alt-end for halt
I think that's done in /etc/inittab
When I get home I'll cut it out and send it if no one lese has
It's more secure than suid, but anyone with physical access to the
machine can
In article [EMAIL PROTECTED],
Vineet Kumar [EMAIL PROTECTED] wrote:
* David Wright ([EMAIL PROTECTED]) [020214 13:58]:
How can I let a normal user use the halt or shutdown command?
All the responses to this query have been ugly hacks. The right way to do
this this (put on flame-retardant
Now, would you like /sbin/halt to also show a Are you really really
sure (Abort/Ignore/Retry/Fail)? dialog a few times and then count to
10 (so we could press ^C) before doing telinit 0?
If the sysadmin wants his users to go through this: yes, that's exactly
what I want. If he wants his
Stuff like this doesn't belong in sysvinit. It belongs in an
optional package that can call shutdown, not in shutdown itself.
Let alone in the halt binary!
Fine, I wouldn't object.
But I would point out that (1) you don't loose any modularity with a pam
layer, since you can configure pam
How can I let a normal user use the halt or shutdown command? I need
this for the remote control of my TV box. I tried changing permissions, but
that didn't help. --Hans
On Wed, Feb 13, 2002 at 07:30:05PM +0100, Hans wrote:
How can I let a normal user use the halt or shutdown command? I need
Try using 'sudo'. You'll have to edit the sudoers file though.
Chris Hilts
[EMAIL PROTECTED]
But with sudo you will still have to enter a password afaik and that's kind
of difficult with remote control. --Hans
At 01:25 PM 2/13/02 -0500, Chris Hilts wrote:
On Wed, Feb 13, 2002 at 07:30:05PM +0100, Hans wrote:
How can I let a normal user use the halt or shutdown command? I need
Try using
On Wed, Feb 13, 2002 at 07:37:06PM +0100, Hans wrote:
But with sudo you will still have to enter a password afaik and that's kind
of difficult with remote control. --Hans
That is incorrect. There is an option which allows the password prompt
to be skipped. (man sudoers - I'd use it with care,
correct, an example is as follows:
puckALL= NOPASSWD: /usr/bin/pico -w /etc/bind/[A-z]*
I'm letting puck edit anything in /etc/bind/ using sudo, no password
required. this should fit your needs.
On Wed, 2002-02-13 at 13:32, Chris Hilts wrote:
On Wed, Feb 13, 2002 at 07:37:06PM +0100, Hans
How can I let a normal user use the halt or shutdown command? I need
this for the remote control of my TV box. I tried changing permissions, but
that didn't help. --Hans
I just did
chmod a+s /sbin/shutdown
But you have to rerun it whenever you update that package.
On Wed, 13 Feb 2002 11:59:25 -0700
Jason Majors [EMAIL PROTECTED] wrote:
How can I let a normal user use the halt or shutdown command? I need
this for the remote control of my TV box. I tried changing permissions, but
that didn't help. --Hans
I just did
chmod a+s /sbin/shutdown
But
Thanks. That did the trick. The box is not on a network (never will) so no
worries about security. --Hans
At 11:59 AM 2/13/02 -0700, Jason Majors wrote:
How can I let a normal user use the halt or shutdown command? I need
this for the remote control of my TV box. I tried changing permissions,
On Wednesday, February 13, 2002, at 01:43 PM, Jason Ramey wrote:
correct, an example is as follows:
puckALL= NOPASSWD: /usr/bin/pico -w /etc/bind/[A-z]*
I'm letting puck edit anything in /etc/bind/ using sudo, no password
required. this should fit your needs.
Remember that most editors
Hans wrote:
Thanks. That did the trick. The box is not on a network (never will) so no
worries about security. --Hans
Now there's a brave, brave man.
'2 digits? Sure, it won't be running by 2000...'
Tom
34 matches
Mail list logo