From owner-freebsd-questions Thu Sep 24 01:26:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA23832 for freebsd-questions-outgoing; Thu, 24 Sep 1998 01:26:52 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from phear.net (phear.net [206.58.96.18]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA23826 for ; Thu, 24 Sep 1998 01:26:47 -0700 (PDT) (envelope-from jim@phrantic.phear.net) Received: from jmmock (slwag1p24.ozemail.com.au [203.108.157.40]) by phear.net (8.9.1a/8.9.1a) with SMTP id BAA09556; Thu, 24 Sep 1998 01:24:23 -0700 (PDT) Message-Id: <199809240824.BAA09556@phear.net> X-Sender: jim@mail.phear.net X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1.0.63 (Beta) Date: Thu, 24 Sep 1998 18:27:48 +1000 To: larry_nilsen From: Jim Mock Subject: Re: Warning was not properly dismounted/ Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <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 12:59 AM 9/24/98 -0700, larry_nilsen wrote: >hi i have two short Questions; >1) im running FREEBSD2.2.7 I have a root password.Now how do i sign in >as root or when im logged in as normal user how can i access root. a lot of >commands i try keeps comming back permission denied? Log in from the console as root with the password. That'll log you in as root. If you're logged in as a normal user, make sure the username is added to the wheel group in /etc/group. It should look like this, where your_uid is your login name.. wheel:*:0:root,your_uid Then when you want (or need) to be root, type su at the prompt and type in the password. >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. Jim |=> Jim Mock | Admin/Webmaster | email: jim@phrantic.phear.net <=| |=> Phear Dot Net | KidzHaven | web: http://www.phear.net/ <=| |=> Website Design & Hosting | web: http://www.kidzhaven.com/ <=| |=> Wagga Wagga, NSW Australia | Powered by FreeBSD! <=| To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message