Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Feb 1999 11:22:29 -0500
From:      W Gerald Hicks <wghicks@bellsouth.net>
To:        cjclark@home.com, cjc@cc942873-a.ewndsr1.nj.home.com
Cc:        cchrstns@sdln.net, questions@FreeBSD.ORG
Subject:   Re: Shutdown
Message-ID:  <19990209112229E.wghicks@wghicks.bellsouth.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
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 <enter> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990209112229E.wghicks>