From owner-freebsd-questions Wed Jul 26 22:36:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from databoss.leth-theboss.com (databoss.theboss.net [206.191.102.8]) by hub.freebsd.org (Postfix) with ESMTP id 76F4A37B84E for <freebsd-questions@freebsd.org>; Wed, 26 Jul 2000 22:36:51 -0700 (PDT) (envelope-from chris@theboss.net) Received: from k5k5g7 ([206.191.102.233]) by databoss.leth-theboss.com (Netscape Mail Server v2.02) with SMTP id AAA29119 for <freebsd-questions@freebsd.org>; Wed, 26 Jul 2000 23:36:11 -0600 Message-Id: <3.0.3.32.20000726233343.0068b930@theboss.net> X-Sender: chris@theboss.net X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.3 (32) Date: Wed, 26 Jul 2000 23:33:43 -0700 To: freebsd-questions@freebsd.org From: Chris Moline <chris@theboss.net> Subject: How come halt has to be suid to work? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Usually when I finish up on my system I am working as root and so I never noticed this before. The permissions were 555 but every time I used halt as an ordinary user I got operation not permitted. I fixed this problem by changing the permissions to 4550. Why does it have to be like this?(I really don't like suid-I had to reinstall several times because of malicious scripts. It is not so bad now that I know to watch out for them.) TIA, Chris Moline To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message