From owner-freebsd-bugs Mon Apr 10 14:30: 8 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id BE5ED37B5B8 for ; Mon, 10 Apr 2000 14:30:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA10527; Mon, 10 Apr 2000 14:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 10 Apr 2000 14:30:02 -0700 (PDT) Message-Id: <200004102130.OAA10527@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Brooks Davis Subject: Re: bin/17910: Do not allow 'operators' to drop to single user via shutdown Reply-To: Brooks Davis Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/17910; it has been noted by GNATS. From: Brooks Davis To: The AnarCat 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