From owner-freebsd-questions Tue Feb 9 08:10:10 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA03210 for freebsd-questions-outgoing; Tue, 9 Feb 1999 08:10:10 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail1.atl.bellsouth.net (mail1.atl.bellsouth.net [205.152.0.28]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA02885 for ; Tue, 9 Feb 1999 08:07:47 -0800 (PST) (envelope-from wghicks@bellsouth.net) Received: from wghicks.bellsouth.net (host-209-214-66-114.atl.bellsouth.net [209.214.66.114]) by mail1.atl.bellsouth.net (8.8.8-spamdog/8.8.5) with ESMTP id LAA21433; Tue, 9 Feb 1999 11:07:38 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by wghicks.bellsouth.net (8.9.2/8.9.2) with ESMTP id LAA40690; Tue, 9 Feb 1999 11:22:30 -0500 (EST) (envelope-from wghicks@wghicks.bellsouth.net) To: cjclark@home.com, cjc@cc942873-a.ewndsr1.nj.home.com Cc: cchrstns@sdln.net, questions@FreeBSD.ORG Subject: Re: Shutdown In-Reply-To: Your message of "Tue, 9 Feb 1999 10:50:41 -0500 (EST)" <199902091550.KAA05417@cc942873-a.ewndsr1.nj.home.com> References: <199902091550.KAA05417@cc942873-a.ewndsr1.nj.home.com> X-Mailer: Mew version 1.93 on XEmacs 20.4 (Emerald) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19990209112229E.wghicks@wghicks.bellsouth.net> Date: Tue, 09 Feb 1999 11:22:29 -0500 From: W Gerald Hicks X-Dispatcher: imput version 980905(IM100) Lines: 40 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: "Crist J. Clark" Subject: Re: Shutdown Date: Tue, 9 Feb 1999 10:50:41 -0500 (EST) > Corey, you are using a broken mailer or need to find the key a > bit more frequently. Your mail was all on one line. > > Corey A. Christians wrote, > > I know that teh HP flavor of UNIX allows users that cannot be root perform a shutdown. I was wondering if FreeBSD has this feature as well. I travel quite and it would be useful if someone else could reboot while I am away. > > % ls -l `which shutdown` > -r-sr-x--- 1 root operator 147456 Jul 22 1998 /sbin/shutdown > > shutdown is a setuid command. It is simply a matter of using chmod to > give other users access to it. To reboot the system, > > % shutdown -r now > > I actually have to have machines set up with 4555 permissions on > shutdown to allow users to swap OS's in and out at will. No you don't :-) My shutdown is 'r-sr-xr--' root/operator as installed. Being a member of the operator group extends a shutdown priviledge that won't disappear after a 'make world'. (Running 3.0-STABLE) Cheers, Jerry Hicks wghicks@bellsouth.net > -- > Crist J. Clark cjclark@home.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message