From owner-freebsd-questions Sat Jul 20 16:36:20 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 388B537B400 for ; Sat, 20 Jul 2002 16:36:17 -0700 (PDT) Received: from server1.electrosoftsolutions.com (tpconnolly58.dsl.frii.net [216.17.144.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABAD743E58 for ; Sat, 20 Jul 2002 16:36:16 -0700 (PDT) (envelope-from tconnolly@electrosoftsolutions.com) Received: by server1.electrosoftsolutions.com with Internet Mail Service (5.5.2653.19) id <37AQ6F9Z>; Sat, 20 Jul 2002 17:36:16 -0600 Message-ID: <71ED4DBF1EA19A45A3765CA9548BE30A212D@server1.electrosoftsolutions.com> From: Thomas Connolly To: Marc Schneiders Cc: "FreeBSD_Questions (E-mail 2)" Subject: RE: Wheel ? Date: Sat, 20 Jul 2002 17:36:14 -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 now I've really screwed things up. I did what you said, entered /bin/csh into the password file only, I spelled csh as xsh and now I can't even login as root. I get an error that says the same things as before "/bin/xsh" directory or file does not exist. Is there anything I can do now? Help please? Thank you, 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