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

Re: [Sheflug] Can you help me with this one?



Steve Tickle wrote:

> I've done some playing around with /etc/crontab but the following line only
> seems to work when root is logged in.

> 00 15 * * * root halt

Then you may have the file /etc/shutdown.allow(5), and a halt(8) or
shutdown(8) that has been hacked to assume "shutdown -a" mode.

Try mv'ing the shutdown.allow file elsewhere (note this leaves you
vulnerable to a three finger salute on the console, but if they can
reach the console, they can probably reach the power switch, too).

Also try using "shutdown -h now" in the crontab.

-- 
University of Tsukuba                Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences       Tel/fax: +81 (298) 53-5091
_________________  _________________  _________________  _________________
What are those straight lines for?  "XEmacs rules."
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.