Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 1998 10:08:21 -0400
From:      "William S. Duncanson" <caesar@starkreality.com>
To:        Jim Mock <jim@phrantic.phear.net>, larry_nilsen <larry_nilsen@eee.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Warning was not properly dismounted/
Message-ID:  <199809251408.JAA03189@starkreality.com>
In-Reply-To: <199809240824.BAA09556@phear.net>
References:  <3609FBD0.F77EC114@eee.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 04:27 AM 9/25/98 +1000, Jim Mock wrote:
>>2)When im in FREEBSD and i want to shutdown my computer i understand
>>i should be using the shutdown command.When i use it it comes back
>>saying permission denied.? and then i just type exit it puts me back in the
>>login screen and i turn off the computer there.When i turn on the computer
>>again as FREEBSD is booting up and going through the normal kernel i read
>>somthing that says" (Warning was not properly dismounted) How can i
>>prevent this error from happening again.
>
>You need to be root to use the shutdown command.  To reboot type shutdown
>-r now at the prompt and to halt the system (if you want to turn it off)
>type shutdown -h now and when it says "System is halted. Press a key to
>reboot."  you can turn off the power.  That'll stop you from getting that
>error message on reboot.

Actually, I think that you just need to be a member of the operators group.
 Here's the permissions on my shutdown:
-r-sr-x---  1 root  operator  149392 Sep 24 18:10 /sbin/shutdown*



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?199809251408.JAA03189>