From owner-freebsd-questions Wed Nov 11 10:16:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA15589 for freebsd-questions-outgoing; Wed, 11 Nov 1998 10:16:42 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA15575 for ; Wed, 11 Nov 1998 10:16:34 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.053-bcps #6) id 0zddVI-0005eK-00; Wed, 11 Nov 1998 16:52:24 +0000 Date: Wed, 11 Nov 1998 16:52:24 +0000 From: Ben Smithurst To: Steve Friedrich Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Shutdown Message-ID: <19981111165224.A21706@scientia.demon.co.uk> References: <199811111513.KAA01529@laker.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <199811111513.KAA01529@laker.net> User-Agent: Mutt/0.94.12i (FreeBSD/3.0-CURRENT) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Steve Friedrich wrote: > 2. Use chmod +x /sbin/shutdown to allow ordinary users execute > privilege. > > Solution 1 might allow users to Control-C their way to a root prompt. Maybe. > Solution 2 seems best to me. What, so anyone can type $ shutdown now and get a root prompt? That's easier than getting a root prompt by soln 1, surely? I'd just add users to the group /sbin/shutdown is owned by, and chmod 4550 it (owned by root). Or use sudo as someone else suggested. -- Ben Smithurst ben@scientia.demon.co.uk send a blank message to ben+pgp@scientia.demon.co.uk for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message