From owner-freebsd-questions Thu Mar 20 16:18:21 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA10716 for questions-outgoing; Thu, 20 Mar 1997 16:18:21 -0800 (PST) Received: from goodall.u.washington.edu (durang@goodall.u.washington.edu [140.142.12.163]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA10709 for ; Thu, 20 Mar 1997 16:18:18 -0800 (PST) Received: from localhost (durang@localhost) by goodall.u.washington.edu (8.8.4+UW96.12/8.8.4+UW97.03) with SMTP id QAA54726 for ; Thu, 20 Mar 1997 16:18:17 -0800 Date: Thu, 20 Mar 1997 16:18:17 -0800 (PST) From: "K. Marsh" To: questions@freebsd.com Subject: chmod, chown, and shutdown. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk My roomate uses my computer to check his e-mail and do a little web browsing in FreeBSD, as well as to use Word, Excel, and other expensive programs in that other operating system. How can I give him the ability to issue "shutdown" without giving him root privileges? I am aware that it may be a security hole, but he's not going to hack my system. I just don't want him to able to destroy everything by accident. I tried using chmod and chown on the binary, but even when he owns it and it's in 777 mode, it doesn't execute. I'm using 2.2-RELEASE if it makes any difference. Thanks, Ken Marsh