From owner-freebsd-questions Thu Dec 6 17:13:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web14402.mail.yahoo.com (web14402.mail.yahoo.com [216.136.174.59]) by hub.freebsd.org (Postfix) with SMTP id 1334837B419 for ; Thu, 6 Dec 2001 17:13:20 -0800 (PST) Message-ID: <20011207011320.32816.qmail@web14402.mail.yahoo.com> Received: from [204.77.43.246] by web14402.mail.yahoo.com via HTTP; Thu, 06 Dec 2001 17:13:20 PST Date: Thu, 6 Dec 2001 17:13:20 -0800 (PST) From: William Evanson Subject: reboot script To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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? __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message