From owner-freebsd-questions@FreeBSD.ORG Fri May 23 06:31:31 2003 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 3A09737B401 for ; Fri, 23 May 2003 06:31:31 -0700 (PDT) Received: from hermes.pressenter.com (hermes.pressenter.com [209.224.20.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61CD743F85 for ; Fri, 23 May 2003 06:31:30 -0700 (PDT) (envelope-from nospam@hiltonbsd.com) Received: from [209.224.36.144] (helo=daggar.sbgnet.net) by hermes.pressenter.com with smtp (Exim 3.16 #1) id 19JCdp-00017G-00; Fri, 23 May 2003 08:31:25 -0500 Date: Fri, 23 May 2003 08:31:23 -0500 From: Stephen Hilton To: William Scully Message-Id: <20030523083123.6d46ae19.nospam@hiltonbsd.com> In-Reply-To: <20030523120433.GA2281@scully.biz> References: <20030523120433.GA2281@scully.biz> X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: changing the default log in shell 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: Fri, 23 May 2003 13:31:31 -0000 On Fri, 23 May 2003 21:04:33 +0900 William Scully wrote: > When I installed 4.7, I chose bash as the default log in shell. I have come > to prefer tcsh and would like to make that the default. What is the best > way to go about that? Of course, I can switch shells on the fly, but I > want to avoid that extra step of cahnging from bash to tcsh, and instead > log straight into tcsh from the log- in prompt. Bill, You can use 'vipw' to edit the users account and change the reference to the users shell at the end of the users entry. Example: Change from myuser:xXxXxXxX:1002:1002::0:0:My User:/home/myuser:/bin/sh To myuser:xXxXxXxX:1002:1002::0:0:My User:/home/myuser:/bin/tcsh After this change the next time you log in as "myuser" you will have the shell "tcsh". Regards, Stephen Hilton nospam@hiltonbsd.com