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

Re: wmshutdown



me too, i add "username   ALL=(ALL) NOPASSWD:ALL" in my sudoers

On 10/8/05, Hamish Moffatt <hamish@debian.org> 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 <hamish@debian.org> <hamish@cloud.net.au>
>
>
> --
> To UNSUBSCRIBE, email to debian-amd64-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>


--
Robin Jim



Reply to: