Rob

thanks for the info

cheers...................dave

On Mon, 16 Jun 2003 12:51, you wrote:
> On Mon, 2003-06-16 at 08:54, C Falconer wrote:
> > On Sun, 2003-06-15 at 22:59, Dave Garlick wrote:
> > > I was wanting to use Ktimer to auto shut down (such as after a long
> > > download etc.) can anyone help with the command to run???
> >
> > wget -c http://www.foo.org/file.tgz ; shutdown -rft 3 now
>
> Use 'shutdown -hft 3 now' to halt rather than reboot
>
> > (most distros need to run shutdown as root though)
>
> True but if you add the follwoing line to /etc/sudoers using visudo you
> should be in good shape.
>
> %users  localhost= NOPASSWD: /sbin/shutdown -hft 3 now
>
> users = name of group allowed to execute the shutdown command
> localhost = your computer's name
> NOPASSWD: = means you won't have to stick around to enter your password.
>
> HTH :>

-- 


cheers.............dave 
 
Reply to: "[EMAIL PROTECTED]" 


-----------------------------------------
KMail on Davesmachine 
Linux Mandrake release 9.1 (Bamboo) i586
Kernel 2.4.21-0.13mdksmp i686[ELF]
-----------------------------------------

Reply via email to