From owner-freebsd-questions Wed Jun 7 1: 1: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from theory1.physics.iisc.ernet.in (theory1.physics.iisc.ernet.in [144.16.71.20]) by hub.freebsd.org (Postfix) with SMTP id C159837C3EF for ; Wed, 7 Jun 2000 01:01:01 -0700 (PDT) (envelope-from rsidd@physics.iisc.ernet.in) Received: (qmail 59331 invoked by uid 211); 7 Jun 2000 08:00:58 -0000 Date: Wed, 7 Jun 2000 13:30:58 +0530 From: Rahul Siddharthan To: Kerwin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Command & Permission Denied.... Message-ID: <20000607133058.C59113@physics.iisc.ernet.in> Mail-Followup-To: Kerwin , freebsd-questions@FreeBSD.ORG References: <002d01bfd055$d08507c0$c9026b83@client> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <002d01bfd055$d08507c0$c9026b83@client>; from KerwinL@netzero.net on Wed, Jun 07, 2000 at 02:55:51AM -0500 X-Operating-System: FreeBSD 3.4-STABLE i386 X-Question: Do you enjoy reading pointless headers? Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kerwin said on Jun 7, 2000 at 02:55:51: > Please help me out in here.... im new in FreeBSD and i'm getting a lil' frustrated. > > Howcome I always get a 'Permission Denied' everytime I put down a command??? Even if i want to it shutdown like 'shutdown -now' > it always comes out this "Permission Denied"????? Some commands, such as shutdown, can only be executed by the superuser, ie root. You can either log in on the console as root, or use the "su" command to become root from your regular account. In either case you need to supply the root password; you'd have been asked to select a root password during the install process. In case you forgot the root password, reboot in single user mode (you can usually use ctrl-alt-del from the console to reboot) and when you get the root prompt, use "passwd" to change the root password. > Also, Howcome i always get this '$' rather than '#' on my begining statement???? > > does it makes any difference if it's '$' or this '#'???? If so, how can change "$" to "#"???? Conventionally # is the prompt for the superuser, so it is not a good idea to use it for a normal user. You can set your prompt to something else, though: see the man page for your shell. Rahul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message