Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Oct 2006 21:22:39 +1000
From:      Nick Withers <>
Cc:        Free BSD Questions list <>
Subject:   Re: Member of group wheel, but still can't shutdown system?
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thu, 5 Oct 2006 13:24:14 +0200 wrote:

> Hi All,
> I've just installed FreeBSD 6.1 and listed myself as a member of the wheel 
> group during the add users portion of the installation.  For some reason I 
> have not put a finger on yet I cannot shutdown the system "do not have 
> permission" to effect the command.

The shutdown(8) binary ("/sbin/shutdown") is not owned by the
"wheel" group (do an "ls -l" on it), but by the "operator"

>  Went back as root on a later session and 
> re-entered my name in /etc/group to the wheel account to no avail, anybody 
> got an idea as to where I need to look?

I personally set the execute bit on "/sbin/shutdown" for
others on my desktop machine, as I want anyone using it
(locally, no remote access enabled) to be able to shut it down.

To do this: "chmod o+x /sbin/shutdown". Might be a good idea to
understand the setuid concept beforehand, if you don't

> Thanks,
> Tommy2
Nick Withers
Mobile: +61 414 397 446

Want to link to this message? Use this URL: <>