Date: Sun, 21 Jul 2002 10:01:34 +1000 (EST) From: Steven Goodwin <steve@cit.gu.edu.au> To: Thomas Connolly <tconnolly@electrosoftsolutions.com> Cc: Marc Schneiders <marc@schneiders.org>, "FreeBSD_Questions (E-mail 2)" <freebsd-questions@FreeBSD.ORG> Subject: RE: Wheel ? Message-ID: <Pine.LNX.4.44.0207210956480.25301-100000@hobbit.cit.gu.edu.au> In-Reply-To: <71ED4DBF1EA19A45A3765CA9548BE30A212E@server1.electrosoftsolutions.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 20 Jul 2002, Thomas Connolly wrote: > 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? Yes you can. Just log in as root, run chsh, and change your shell setting. Take note of any warning messages that chsh spews out when it tries to update the database. If you make a typo (or the shell doesn't exist), it will tell you something like "cannot find shell" although the modification will still be made. > Thanks, Welcs, Steve > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0207210956480.25301-100000>