From owner-freebsd-questions Fri Feb 23 1:46:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gekko.i-clue.de (server.ms-agentur.de [62.153.134.194]) by hub.freebsd.org (Postfix) with ESMTP id EC26937B491 for ; Fri, 23 Feb 2001 01:46:22 -0800 (PST) (envelope-from so@server.i-clue.de) Received: from i-clue.de (automatix.i-clue.de [192.168.0.112]) by gekko.i-clue.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id LAA04097; Fri, 23 Feb 2001 11:52:14 +0100 Message-ID: <3A9631B6.B7B8EABF@i-clue.de> Date: Fri, 23 Feb 2001 10:47:34 +0100 From: Christoph Sold Reply-To: so@server.i-clue.de X-Mailer: Mozilla 4.75 [de] (WinNT; U) X-Accept-Language: de MIME-Version: 1.0 To: "Power JeSsIe!" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: authorized shutdown References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Power JeSsIe!" schrieb: > > this may sound a newbie question but i just wanna know > How can i limit the 'shutdown' command > (and the pressing of 'ctrl-alt-del' keys as well ) > to authorized users only? amnesix# ls -l /sbin/shutdown -r-sr-x--- 1 root operator 164612 Feb 13 17:39 /sbin/shutdown Thus, only root and members of the operator group may use shutdown. Since members of the wheel group can su to root, those may do it, too. > is there a file to edit? (i.e. /etc/shutdown.allow) No. Make sure only people allowed to shut down the machine are members of the above mentioned groups. HTH -Christoph Sold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message