Re: The right way to power off a computer as non-root

2002-01-03 Thread Karsten M. Self
on Thu, Jan 03, 2002 at 08:45:43PM -0500, P Prince ([EMAIL PROTECTED]) wrote: > Well, what about su? > > [EMAIL PROTECTED] su > [EMAIL PROTECTED]'s password: > [EMAIL PROTECTED] shutdown -h now > > > I had two ideas of making this possible. The one is to make it sudo-able and > > the other is to

Re: The right way to power off a computer as non-root

2002-01-03 Thread P Prince
> Hello, Hello, > I use my computer as a workstation and thus I think it would be a good idea > to be able to switch it of as user without being root. Well, what about su? [EMAIL PROTECTED] su [EMAIL PROTECTED]'s password: [EMAIL PROTECTED] shutdown -h now > I had two ideas of making this poss

Re: The right way to power off a computer as non-root

2002-01-03 Thread csj
On Thursday 03 January 2002 12:23, Paolo Alexis Falcone wrote: > Thomas Deselaers wrote: > >Hello, > > > >I use my computer as a workstation and thus I think it would be a > > good idea to be able to switch it of as user without being root. > >I had two ideas of making this possible. The one is to

Re: The right way to power off a computer as non-root

2002-01-03 Thread Dries Kimpe
Maybe somebody already proposed this (I didn't get the beginning of the thread), but wat about APCI? If your computer is fairly recent, you should be able to configure it - with some time & luck - to react the way a windowspc does: just hit the power button, and it will shutdown itself gracef

Re: The right way to power off a computer as non-root

2002-01-02 Thread Karsten M. Self
on Wed, Jan 02, 2002 at 07:10:19PM +0100, Markus Grunwald ([EMAIL PROTECTED]) wrote: > Hi, > > > I use my computer as a workstation and thus I think it would be a good idea > > to be able to switch it of as user without being root. > > [.1).]make it sudo-able > > [.2).]put the executable into a s

Re: The right way to power off a computer as non-root

2002-01-02 Thread Markus Grunwald
Hi, > I use my computer as a workstation and thus I think it would be a good idea > to be able to switch it of as user without being root. > [.1).]make it sudo-able > [.2).]put the executable into a special group AFAIR, putting shutdown in a group will not work. You'll have to add the SUID Bit as

Re: The right way to power off a computer as non-root

2002-01-02 Thread Paolo Alexis Falcone
Thomas Deselaers wrote: >Hello, > >I use my computer as a workstation and thus I think it would be a good idea >to be able to switch it of as user without being root. >I had two ideas of making this possible. The one is to make it sudo-able and >the other is to put the executable into a special g

Re: The right way to power off a computer as non-root

2002-01-02 Thread Dave Sherohman
On Wed, Jan 02, 2002 at 02:24:37PM +0100, Thomas Deselaers wrote: > I use my computer as a workstation and thus I think it would be a good idea > to be able to switch it of as user without being root. > I had two ideas of making this possible. The one is to make it sudo-able and > the other is to p