Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 1997 17:10:15 -0800 (PST)
From:      Snob Art Genre <ben@narcissus.ml.org>
To:        "K. Marsh" <durang@u.washington.edu>
Cc:        questions@freebsd.com
Subject:   Re: chmod, chown, and shutdown.
Message-ID:  <Pine.NEB.3.95.970320170925.8039A-100000@narcissus.ml.org>
In-Reply-To: <Pine.A32.3.95.970320160858.52298D-100000@goodall.u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Make shutdown belong to root, group operator, and put your roommate in
group operator.  Then change the permissions on it to 4550.

On Thu, 20 Mar 1997, K. Marsh wrote:

> My roomate uses my computer to check his e-mail and do a little web
> browsing in FreeBSD, as well as to use Word, Excel, and other expensive
> programs in that other operating system.
> 
> How can I give him the ability to issue "shutdown" without giving him root
> privileges?
> 
> I am aware that it may be a security hole, but he's not going to hack my
> system. I just don't want him to able to destroy everything by accident.
> 
> I tried using chmod and chown on the binary, but even when he owns it and
> it's in 777 mode, it doesn't execute.
> 
> I'm using 2.2-RELEASE if it makes any difference.
> 
> Thanks,   Ken Marsh
> 
> 



 Ben

"You have your mind on computers, it seems."




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970320170925.8039A-100000>