Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 1997 23:21:06 -0800 (PST)
From:      Julian Elischer <julian@whistle.com>
To:        Parker Brown <phbrown@gte.net>
Cc:        support@FreeBSD.ORG
Subject:   Re: 2.2.5 Cannot Find User's Home Directories
Message-ID:  <Pine.BSF.3.95.971124231846.1373A-100000@current1.whistle.com>
In-Reply-To: <347A4648.212A@gte.net>

next in thread | previous in thread | raw e-mail | index | archive | help
ever never never edit the passwd files..
/etc/paswd is a GENERATED FILE.
use he program 'vipw'
it will update all the databases etc.
alternatively use 'adduser'
vipw will use what ever editor is in the "EDITOR" env. variable
so make sure it's not the default 'ee' or you'll go mad.

julian

On Mon, 24 Nov 1997, Parker Brown wrote:

> Just installed 2.2.5, then added the usual user (for relatively
> worry-free use of the system) while still running the /floppies/boot.flp
> kernel.  I guess I misunderstood the use of the home directory field, so
> when I logged in as a user the system could not find, and apparently had
> not built, a home directory.
> 
> I created a new home directory in /usr/home using a backup from previous
> FreeBSD releases.  Then I edited /etc/passwd to indicate the correct
> home directory.  That did not work, so I then edited /etc/master.passwd
> with same.  No good.
> 
> If I knew the name of the module (maybe login.c .... I will look after
> sending this requset for help) that locates the user's home directory,
> maybe I could scroll through that to answer my own question.
> 
> Could someone please give me some suggestions that can solve my (user
> login) problems and/or give me some insight as to where I might look?
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.971124231846.1373A-100000>