From owner-freebsd-questions Mon Dec 10 21:58:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from intranet.ru (tcms8.intranet.ru [212.164.0.135]) by hub.freebsd.org (Postfix) with ESMTP id CD9C837B416 for ; Mon, 10 Dec 2001 21:58:22 -0800 (PST) Received: from [62.76.110.13] (account ) by intranet.ru (CommuniGate Pro WebUser 3.4.8) with HTTP id 6732996 for ; Tue, 11 Dec 2001 11:58:19 +0600 From: "Eugene Panchenko" Subject: Strange programs' permissions To: questions@freebsd.org X-Mailer: CommuniGate Pro Web Mailer v.3.4.8 Date: Tue, 11 Dec 2001 11:58:19 +0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hallo! To be able to issue `shutdown' command, I need to be in operator group, since -r-sr-x--- 1 root operator 192256 Dec 6 19:34 /sbin/shutdown OK. But why reboot, halt (and other hardlinks) have this permissions, when both shutdown and reboot do essentially the same thing: ? -r-xr-xr-x 4 root wheel 256332 Dec 6 19:34 /sbin/reboot ...so only root can issue them? Is there any point behind this? Thank you. ---------------------------------------------------------- πΟΣΕΤΙΤΕ "νοσλοχσλικ ηοςοδσλοκ σακτ" http://mosk.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message