Date: Mon, 10 Apr 2000 14:30:02 -0700 (PDT) From: Brooks Davis <brooks@one-eyed-alien.net> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/17910: Do not allow 'operators' to drop to single user via shutdown Message-ID: <200004102130.OAA10527@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/17910; it has been noted by GNATS. From: Brooks Davis <brooks@one-eyed-alien.net> To: The AnarCat <beaupran@iro.umontreal.ca> Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/17910: Do not allow 'operators' to drop to single user via shutdown Date: Mon, 10 Apr 2000 14:26:40 -0700 On Mon, Apr 10, 2000 at 04:51:13PM -0400, The AnarCat wrote: > > >Description: > > The shutdown(8) utility can be used to stop the system so that > it drops to single-user modem, by any user in the operator group. This > situation may not be desirable in the case of "public" workstations. > > For example, say you have some workstations of which the only access is > through the keyboard and monitor. You do not wish to have any user have > root access on these boxes. A user may shutdown(8) the machine, if he's > got the permissions (operator group membership in the default setup) but > should never have single-user access (this also implies that the console > is marked "secure" in /etc/ttys, of course). You already metioned the real solution. Just remove secure from /etc/ttys. In any case, it is delusional to think a machine you provide physical access to is secure. Root is only a floppy disk (or, at most, a few case screws and a jumper) away. Breaking shutdown won't really help since you can go to single user at the boot prompt. -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004102130.OAA10527>
