From owner-freebsd-questions Sat Jul 20 16:47: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9A2837B400 for ; Sat, 20 Jul 2002 16:47:02 -0700 (PDT) Received: from server1.electrosoftsolutions.com (tpconnolly58.dsl.frii.net [216.17.144.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37B4C43E31 for ; Sat, 20 Jul 2002 16:47:02 -0700 (PDT) (envelope-from tconnolly@electrosoftsolutions.com) Received: by server1.electrosoftsolutions.com with Internet Mail Service (5.5.2653.19) id <37AQ6F97>; Sat, 20 Jul 2002 17:46:56 -0600 Message-ID: <71ED4DBF1EA19A45A3765CA9548BE30A212E@server1.electrosoftsolutions.com> From: Thomas Connolly To: Marc Schneiders Cc: "FreeBSD_Questions (E-mail 2)" Subject: RE: Wheel ? Date: Sat, 20 Jul 2002 17:46:48 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ok, Fortunately root was still logged in so when I logged out, the root prompt came up and I fixed the password file. Now my question is, can I change the shell to bash when I login as root or am I stuck with csh and then manually entering the bash shell? Thanks, Tom -----Original Message----- From: Marc Schneiders [mailto:marc@schneiders.org] Sent: Friday, July 19, 2002 7:29 PM To: Thomas Connolly Subject: RE: Wheel ? Thomas, Have a look at your password file (command: vipw). It should specify the shell used by root. If it says 'bash' there, and there is no bash on your system, then it doesn't work. There is no bash standard with FreeBSD (you find it in the ports if you like it; it is the standard linux shell, I think). I do not understand, however, how bash would end up in your password file. It is normally /bin/csh. So, change it to that. I hope this helps. Marc On Fri, 19 Jul 2002, at 16:19 [=GMT-0600], Thomas Connolly wrote: > Marc, > > Thanks for the help. I now get the following when I try to su: > > Jul 19 16:19:32 FreeBSD su: 'JoeBlow' to root on /dev/ttyv0 > Su: bash: No such file or directory > > Then puts me back to 'JoeBlow' > > Any ideas > > Thomas Connolly > > > -----Original Message----- > From: Marc Schneiders [mailto:marc@schneiders.org] > Sent: Friday, July 19, 2002 4:07 PM > To: Thomas Connolly > Cc: FreeBSD_Questions (E-mail 2) > Subject: Re: Wheel ? > > On Fri, 19 Jul 2002, at 16:01 [=GMT-0600], Thomas Connolly wrote: > > > Can anyone tell me how to put myself in that > > wheel? > > Add yourself after 'root' in the file /etc/group. It should look like: > > wheel:*:0:root,thomas > > after you edited it. > > I think you also have to log out and in after this to be able to do > su. Maybe 'rehash' also works, if you use (t)csh? > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message