Date: Thu, 6 Dec 2001 19:23:43 -0600 From: "Stephen Hilton" <nospam@hiltonbsd.com> To: "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG> Cc: "William Evanson" <evawil823@yahoo.com> Subject: RE: reboot script Message-ID: <KPEMJADBBBFPDEDOIOMBCEBADOAA.nospam@hiltonbsd.com> In-Reply-To: <20011207011320.32816.qmail@web14402.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
William Evanson wrote on Thursday, December 06, 2001 7:13 PM > I am looking to create a script to reboot my system > weather or not someone is logged in at su or not. > Does anyone know if this is possible. To do the su > and login and password in a script. I know this is a > bit unorthodox and not very safe, but does anyone have > any ideas how to do a restart without root level access? When would you like this to happen, on an event, at any old random time :-), etc... I am thinking this could be done with cron if you want the reboot to happen at a specific time. If it is needed on event again a cron job could check for the event and reboot if your criteria has been met. More information needed. Regards, Stephen Hilton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?KPEMJADBBBFPDEDOIOMBCEBADOAA.nospam>
