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>

index | next in thread | raw e-mail

> -----Original Message-----
> From: Jonathan Chen [mailto:jonc@chen.org.nz] 
> Sent: Tuesday, March 01, 2005 10:20 AM
> To: Ben Munat
> Cc: freebsd-questions@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


help

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