From owner-freebsd-questions Mon Nov 24 23:30:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA20650 for questions-outgoing; Mon, 24 Nov 1997 23:30:15 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA20644 for ; Mon, 24 Nov 1997 23:30:13 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id XAA29549; Mon, 24 Nov 1997 23:23:22 -0800 (PST) Received: from UNKNOWN(), claiming to be "current1.whistle.com" via SMTP by alpo.whistle.com, id smtpd029547; Mon Nov 24 23:23:16 1997 Date: Mon, 24 Nov 1997 23:21:06 -0800 (PST) From: Julian Elischer To: Parker Brown cc: support@FreeBSD.ORG Subject: Re: 2.2.5 Cannot Find User's Home Directories In-Reply-To: <347A4648.212A@gte.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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? >