tab completion
Hauan David A
david.hauan at fairchild.af.mil
Tue Mar 1 19:19:39 GMT 2005
> -----Original Message-----
> From: Jonathan Chen [mailto:jonc at chen.org.nz]
> Sent: Tuesday, March 01, 2005 10:20 AM
> To: Ben Munat
> Cc: freebsd-questions at freebsd.org
> Subject: Re: tab completion
>
>
> 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
> > $SHELL
> > in my regular user's terminal says /bin/sh, while as root
> it says /bin/csh.
>
> If you're using /bin/sh, then of course none of the given
> commands will work as they are for tcsh.
>
> > Both root and the non-root user's shells are listed in
> /etc/passwd as
> > /bin/tcsh, so where else would the shell get set? Can I
> just set all
> > terminals and all users (i.e. me) to have the same shell
> with the same
> > capabilities?
>
> I suspect that /etc/passwd has gotten out of sync with
> master.passwd. Don't edit /etc/passwd. Use vipw(1) and make
> 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
More information about the freebsd-questions
mailing list