Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 1998 19:52:35 -0800
From:      Don Wilde <dwilde1@ibm.net>
To:        Dana Bell <dbell@texramp.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: default shell
Message-ID:  <34F0F283.49CC7BB5@ibm.net>
References:  <199802222206.QAA28111@host1.texramp.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34F0F283.49CC7BB5>