Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 1999 19:12:35 -0600
From:      David Kelly <dkelly@hiwaay.net>
To:        "Tiberiu Stef (Cracu)" <cracu@elle.c5.utcluj.ro>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: changing shell 
Message-ID:  <199902250112.TAA47789@nospam.hiwaay.net>
In-Reply-To: Message from "Tiberiu Stef (Cracu)" <cracu@elle.c5.utcluj.ro>  of "Wed, 24 Feb 1999 20:57:04 %2B0200." <Pine.LNX.4.04.9902242054210.16921-100000@elle.c5.utcluj.ro> 

next in thread | previous in thread | raw e-mail | index | archive | help
"Tiberiu Stef (Cracu)" writes:
> how do i change the default shell (from csh to bash and viceversa)
> assignet at login?
> i know it's somewhere in the $SHELL but in which file?

Nope, not in $SHELL. Its the last field in /etc/master.passwd. SysAdmin 
can use vipw(1) to edit.

Users can select their own shell without SysAdmin attention by using 
the chsh(1) utility:

% chsh -s tcsh dkelly
chsh: updating the database...
chsh: done
% grep dkelly /etc/passwd
dkelly:*:928:928:David Kelly:/home/dkelly:/usr/local/bin/tcsh
%

--
David Kelly N4HHE, dkelly@nospam.hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.




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?199902250112.TAA47789>