Date: Mon, 26 Apr 1999 10:17:28 -0500 (CDT) From: "Paul T. Root" <proot@iaces.com> To: greg.campbell@matrikon.com (Greg Campbell) Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Korn shell issues Message-ID: <199904261517.KAA20811@iaces.com> In-Reply-To: <001201be8ff5$31ff0a70$9308a8c0@greg-campbell.matrikon.com> from Greg Campbell at "Apr 26, 99 08:58:08 am"
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904261517.KAA20811>