Re: wmshutdown

2005-10-10 Thread DR GAVIN SEDDON
Thanks, works a treat. Gav.

On Fri, 2005-10-07 at 22:05 +0200, Alexander Fieroch wrote:
 DR GAVIN SEDDON wrote:
  Thanks, it appears I need to bo rootm  I was looking for a shutdown
  program that can be run as user.
 
 workaround:
 
 add in your ~/.bashrc:
 alias halt='/sbin/halt'
 alias reboot='/sbin/reboot'
 alias shutdown='/sbin/shutdown'
 
 then do as root:
 chmod +s /sbin/halt /sbin/reboot /sbin/shutdown
 
 wmShutdown is running great for me.
 
 Regards,
 Alexander
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: wmshutdown

2005-10-08 Thread Abin
me too, i add username   ALL=(ALL) NOPASSWD:ALL in my sudoers

On 10/8/05, Hamish Moffatt [EMAIL PROTECTED] wrote:
 On Fri, Oct 07, 2005 at 10:05:46PM +0200, Alexander Fieroch wrote:
  DR GAVIN SEDDON wrote:
   Thanks, it appears I need to bo rootm  I was looking for a shutdown
   program that can be run as user.
 
  workaround:
 
  add in your ~/.bashrc:
  alias halt='/sbin/halt'
  alias reboot='/sbin/reboot'
  alias shutdown='/sbin/shutdown'
 
  then do as root:
  chmod +s /sbin/halt /sbin/reboot /sbin/shutdown
 
  wmShutdown is running great for me.

 sudo would be a better idea.

 Hamish
 --
 Hamish Moffatt VK3SB [EMAIL PROTECTED] [EMAIL PROTECTED]


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




--
Robin Jim



Re: wmshutdown

2005-10-08 Thread Hamish Moffatt
On Sat, Oct 08, 2005 at 07:16:59PM +0800, Abin wrote:
 me too, i add username   ALL=(ALL) NOPASSWD:ALL in my sudoers

That's pretty dangerous. Consider limiting the available commands,
or at least require a password for some.

Hamish
-- 
Hamish Moffatt VK3SB [EMAIL PROTECTED] [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



wmshutdown

2005-10-07 Thread Dr Gavin Seddon
Hello,
'wmshutdown' doesn't work, it is installed but I cannot find where.
Does anyone use this who can help?
Gavin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: wmshutdown

2005-10-07 Thread Alexander Fieroch
Dr Gavin Seddon wrote:
 Hello,
 'wmshutdown' doesn't work, it is installed but I cannot find where.
 Does anyone use this who can help?

Hello,

the executable you have to run is called 'wmShutdown' and not
'wmshutdown' like the packagename.
You can find all filenames of the package wmshutdown with 'dpkg -L
wmshutdown'.

Regards,
Alexander


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: wmshutdown

2005-10-07 Thread DR GAVIN SEDDON
Thanks, it appears I need to bo rootm  I was looking for a shutdown
program that can be run as user.  Rather than keep logging out.

 On Fri, 2005-10-07 at 15:14 +0200, Alexander Fieroch wrote:
 Dr Gavin Seddon wrote:
  Hello,
  'wmshutdown' doesn't work, it is installed but I cannot find where.
  Does anyone use this who can help?
 
 Hello,
 
 the executable you have to run is called 'wmShutdown' and not
 'wmshutdown' like the packagename.
 You can find all filenames of the package wmshutdown with 'dpkg -L
 wmshutdown'.
 
 Regards,
 Alexander
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: wmshutdown

2005-10-07 Thread Alexander Fieroch
DR GAVIN SEDDON wrote:
 Thanks, it appears I need to bo rootm  I was looking for a shutdown
 program that can be run as user.

workaround:

add in your ~/.bashrc:
alias halt='/sbin/halt'
alias reboot='/sbin/reboot'
alias shutdown='/sbin/shutdown'

then do as root:
chmod +s /sbin/halt /sbin/reboot /sbin/shutdown

wmShutdown is running great for me.

Regards,
Alexander


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: wmshutdown

2005-10-07 Thread Hamish Moffatt
On Fri, Oct 07, 2005 at 10:05:46PM +0200, Alexander Fieroch wrote:
 DR GAVIN SEDDON wrote:
  Thanks, it appears I need to bo rootm  I was looking for a shutdown
  program that can be run as user.
 
 workaround:
 
 add in your ~/.bashrc:
 alias halt='/sbin/halt'
 alias reboot='/sbin/reboot'
 alias shutdown='/sbin/shutdown'
 
 then do as root:
 chmod +s /sbin/halt /sbin/reboot /sbin/shutdown
 
 wmShutdown is running great for me.

sudo would be a better idea.

Hamish
-- 
Hamish Moffatt VK3SB [EMAIL PROTECTED] [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]