From owner-freebsd-questions Sun Feb 22 19:54:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA10539 for freebsd-questions-outgoing; Sun, 22 Feb 1998 19:54:23 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from out4.ibm.net (out4.ibm.net [165.87.194.239]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA10531 for ; Sun, 22 Feb 1998 19:54:20 -0800 (PST) (envelope-from dwilde1@ibm.net) Received: from ibm.net (slip-32-100-79-168.ca.us.ibm.net [32.100.79.168]) by out4.ibm.net (8.8.5/8.6.9) with ESMTP id DAA92434; Mon, 23 Feb 1998 03:54:16 GMT Message-ID: <34F0F283.49CC7BB5@ibm.net> Date: Sun, 22 Feb 1998 19:52:35 -0800 From: Don Wilde Reply-To: dwilde1@ibm.net X-Mailer: Mozilla 4.04 [en] (Win95; I) MIME-Version: 1.0 To: Dana Bell CC: freebsd-questions@FreeBSD.ORG Subject: Re: default shell References: <199802222206.QAA28111@host1.texramp.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dana Bell wrote: > > > You can add users to /etc/passwd without giving them a shell or a home. > > How do I change a user's default shell in FreeBSD? Now, I have edited both > /etc/passwd and /etc/master.passwd, but one account (my personal > account) always comes up with /bin/sh. I want tcsh to be the default. > If I remember right ( I'm stuck in W95 tonight :( )... First install the port of tcsh. Then add it to /etc/shells. Then use vipw to edit the passwd file. Re-read the rc files with 'kill -1 1' so that the shell list is updated. (this is probably what you forgot) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message