[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wmshutdown



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 <hamish@debian.org> <hamish@cloud.net.au>



Reply to: