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 1
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?
> 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
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 h
* 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
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 us
* 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
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 load
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, so
* 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... That's what it does!
Dima
--
Backwards compatibility is either a pun or an oxymoron. -- PGN
* 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 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 want
In article <[EMAIL PROTECTED]>,
David Roundy <[EMAIL PROTECTED]> wrote:
>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
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'
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
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
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 :-)
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 to
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 u
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
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 s
* 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
* 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 ca
--- 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 ca
> 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
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
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 l
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 permiss
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/s
> 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.
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
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
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
>
>T
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]
33 matches
Mail list logo