From owner-freebsd-questions Fri Sep 25 07:10:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA06524 for freebsd-questions-outgoing; Fri, 25 Sep 1998 07:10:09 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from starkreality.com (fire.starkreality.com [208.24.48.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA06489 for ; Fri, 25 Sep 1998 07:10:03 -0700 (PDT) (envelope-from caesar@starkreality.com) Received: from temp17 ([12.19.232.65]) by starkreality.com (8.9.1/8.9.1) with SMTP id JAA03189; Fri, 25 Sep 1998 09:08:28 -0500 (CDT) Message-Id: <199809251408.JAA03189@starkreality.com> X-Sender: caesar@fire.starkreality.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1.0.52 (Beta) Date: Fri, 25 Sep 1998 10:08:21 -0400 To: Jim Mock , larry_nilsen From: "William S. Duncanson" Subject: Re: Warning was not properly dismounted/ Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <199809240824.BAA09556@phear.net> References: <3609FBD0.F77EC114@eee.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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