From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 19:19:39 2005 Return-Path: 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 9493916A4CE for ; Tue, 1 Mar 2005 19:19:39 +0000 (GMT) Received: from amcuxfw802.amc.af.mil (amcuxns802.amc.af.mil [131.9.254.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB6B443D4C for ; Tue, 1 Mar 2005 19:19:34 +0000 (GMT) (envelope-from david.hauan@fairchild.af.mil) Received: from amcw2av801.amc.ds.af.mil (amcw2av801.amc.af.mil [131.9.19.109]) by fw2.amc.af.mil with SMTP id j21JIChV018612; Tue, 1 Mar 2005 13:19:24 -0600 (CST) Received: from AMCW2BH505.amc.ds.af.mil ([131.9.25.136]) M2005030113192415075 ; Tue, 01 Mar 2005 13:19:24 -0600 Received: from amcw2ms517.amc.ds.af.mil ([131.9.19.74]) by AMCW2BH505.amc.ds.af.mil with Microsoft SMTPSVC(5.0.2195.6713); Tue, 1 Mar 2005 13:19:11 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 1 Mar 2005 13:19:10 -0600 Message-ID: <59FD5336D1B1FA40AF6DDD241D8DBAC6017CC6BA@amcw2ms517.amc.ds.af.mil> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: tab completion Thread-Index: AcUei38Efjf65TGuTZSQNsL7yTg+RAAB3Vug From: "Hauan David A" To: "Jonathan Chen" , "Ben Munat" X-OriginalArrivalTime: 01 Mar 2005 19:19:11.0175 (UTC) FILETIME=[8C3CD570:01C51E93] cc: freebsd-questions@freebsd.org Subject: RE: tab completion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2005 19:19:39 -0000 > -----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 which should be self explanatory. dave