From owner-freebsd-questions Mon Apr 26 8:17:32 1999 Delivered-To: freebsd-questions@freebsd.org Received: from iaces.com (horton.iaces.com [204.147.87.98]) by hub.freebsd.org (Postfix) with ESMTP id 454F8151BF for ; Mon, 26 Apr 1999 08:17:29 -0700 (PDT) (envelope-from proot@iaces.com) Received: (from proot@localhost) by iaces.com (8.9.3/8.9.3) id KAA20811; Mon, 26 Apr 1999 10:17:28 -0500 (CDT) From: "Paul T. Root" Message-Id: <199904261517.KAA20811@iaces.com> Subject: Re: Korn shell issues In-Reply-To: <001201be8ff5$31ff0a70$9308a8c0@greg-campbell.matrikon.com> from Greg Campbell at "Apr 26, 99 08:58:08 am" To: greg.campbell@matrikon.com (Greg Campbell) Date: Mon, 26 Apr 1999 10:17:28 -0500 (CDT) Cc: freebsd-questions@FreeBSD.ORG X-Organization: USWEST !nterprise Networking - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just editting /etc/passwd does nothing. Data is looked up in /etc/pwd.db, passwords are found in /etc/spwd.db. You make changes in those by editting /etc/master.passwd and running pwd_mkdb. The easiest way to do that is to use vipw or chsh. It opens your default editor to change the file and then runs the pwd_mkdb, which populates passwd pwd.db and spwd.db. In a previous message, Greg Campbell said: > Hi, > > I have installed the Korn shell (/bin/ksh) in > my installation of FreeBSD 2.2.7. > > When I execute it from the command line, it > works perfectly - no troubles. > > When I put it into the /etc/passwd file for one > of the users (in place of csh - for example), the > user still logs in as csh... Even though the > directory and the file (/bin/ksh) are correct... > > Any ideas what is going on here? > > Thanks, > Greg > > *********************************** > Greg Campbell > Matrikon Consulting Inc. > Suite 510, 10216-124 Street > Edmonton, AB T5N 4A3 Canada > Phone: (780) 448-1010 X287 > Fax: (780) 448-9191 > email: greg.campbell@matrikon.com > *********************************** > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Love is the triumph of imagination over intelligence. -- H. L. Mencken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message