From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 18:20:14 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 2330616A53B for ; Tue, 1 Mar 2005 18:20:14 +0000 (GMT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id A699C43D3F for ; Tue, 1 Mar 2005 18:20:13 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 0C9455643E; Wed, 2 Mar 2005 07:20:12 +1300 (NZDT) Date: Wed, 2 Mar 2005 07:20:12 +1300 From: Jonathan Chen To: Ben Munat Message-ID: <20050301182012.GB64444@osiris.chen.org.nz> References: <422424B2.1040809@munat.com> <20050301080924.GM8778@dan.emsphone.com> <422427DB.50504@munat.com> <20050301103326.GD5353@gravitas.thebunker.net> <4224A622.5080806@munat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4224A622.5080806@munat.com> User-Agent: Mutt/1.4.2.1i 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 18:20:14 -0000 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. -- Jonathan Chen ---------------------------------------------------------------------- "Only the meek get pinched. The bold survive." - Ferris Bueller