Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 2000 01:50:26 -0400
From:      Eric Ogren <eogren@earthlink.net>
To:        Chris Moline <chris@theboss.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How come halt has to be suid to work?
Message-ID:  <20000727015026.B698@earthlink.net>
In-Reply-To: <3.0.3.32.20000726233343.0068b930@theboss.net>; from chris@theboss.net on Wed, Jul 26, 2000 at 11:33:43PM -0700
References:  <3.0.3.32.20000726233343.0068b930@theboss.net>

next in thread | previous in thread | raw e-mail | index | archive | help
If you put yourself in the "operator" group, you should be able to run
/sbin/halt (at least shutdown -h, which I am 99% sure calls halt, works).

Eric

On Wed, Jul 26, 2000 at 11:33:43PM -0700, Chris Moline wrote:
> 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
> 


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?20000727015026.B698>