From owner-freebsd-questions Wed Feb 24 17:14: 5 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 9769514C49 for ; Wed, 24 Feb 1999 17:13:28 -0800 (PST) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt8-216-180-14-39.dialup.HiWAAY.net [216.180.14.39] (may be forged)) by mail.HiWAAY.net (8.9.1a/8.9.0) with ESMTP id TAA15593; Wed, 24 Feb 1999 19:13:10 -0600 (CST) Received: from nospam.hiwaay.net (localhost [127.0.0.1]) by nospam.hiwaay.net (8.9.2/8.9.2) with ESMTP id TAA47789; Wed, 24 Feb 1999 19:12:35 -0600 (CST) (envelope-from dkelly@nospam.hiwaay.net) Message-Id: <199902250112.TAA47789@nospam.hiwaay.net> X-Mailer: exmh version 2.0.2 2/24/98 To: "Tiberiu Stef (Cracu)" Cc: freebsd-questions@FreeBSD.ORG From: David Kelly Subject: Re: changing shell In-reply-to: Message from "Tiberiu Stef (Cracu)" of "Wed, 24 Feb 1999 20:57:04 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 24 Feb 1999 19:12:35 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "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