Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2005 13:19:10 -0600
From:      "Hauan David A" <david.hauan@fairchild.af.mil>
To:        "Jonathan Chen" <jonc@chen.org.nz>, "Ben Munat" <bent@munat.com>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: tab completion
Message-ID:  <59FD5336D1B1FA40AF6DDD241D8DBAC6017CC6BA@amcw2ms517.amc.ds.af.mil>

next in thread | raw e-mail | index | archive | help
> -----Original Message-----
> From: Jonathan Chen [mailto:jonc@chen.org.nz]=20
> Sent: Tuesday, March 01, 2005 10:20 AM
> To: Ben Munat
> Cc: freebsd-questions@freebsd.org
> Subject: Re: tab completion
>=20
>=20
> On Tue, Mar 01, 2005 at 09:28:02AM -0800, Ben Munat wrote:
> > None of those commands worked... However, I've also found that echo=20
> > $SHELL
> > in my regular user's terminal says /bin/sh, while as root=20
> it says /bin/csh.=20
>=20
> If you're using /bin/sh, then of course none of the given=20
> commands will work as they are for tcsh.
>=20
> > Both root and the non-root user's shells are listed in=20
> /etc/passwd as
> > /bin/tcsh, so where else would the shell get set? Can I=20
> just set all=20
> > terminals and all users (i.e. me) to have the same shell=20
> with the same=20
> > capabilities?
>=20
> I suspect that /etc/passwd has gotten out of sync with=20
> master.passwd. Don't edit /etc/passwd. Use vipw(1) and make=20
> your changes within there.

Correctly installed shells are found in /etc/shells.
You can populate by adding shells throught the ports.
as root (su) whatever do this..
chsh <username>
which should be self explanatory.

dave



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59FD5336D1B1FA40AF6DDD241D8DBAC6017CC6BA>