Date: Fri, 23 Feb 2001 10:47:34 +0100 From: Christoph Sold <so@server.i-clue.de> To: "Power JeSsIe!" <jessie@power-jessie.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: authorized shutdown Message-ID: <3A9631B6.B7B8EABF@i-clue.de> References: <NEBBJJKPMLNMNBFHAAFIIEPHCCAA.jessie@power-jessie.net>
next in thread | previous in thread | raw e-mail | index | archive | help
"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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A9631B6.B7B8EABF>