From owner-freebsd-questions Tue Jan 7 17:13:54 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id RAA00513 for questions-outgoing; Tue, 7 Jan 1997 17:13:54 -0800 (PST) Received: from mailhost2.cac.washington.edu (mailhost2.cac.washington.edu [140.142.33.2]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id RAA00508 for ; Tue, 7 Jan 1997 17:13:51 -0800 (PST) Received: from s5-25-199.student.washington.edu (S5-25-199.student.washington.edu [128.95.25.199]) by mailhost2.cac.washington.edu (8.8.4+UW96.12/8.8.4+UW96.12) with SMTP id RAA06792 for ; Tue, 7 Jan 1997 17:13:49 -0800 Message-ID: <32D2F4BF.3B8D@u.washington.edu> Date: Tue, 07 Jan 1997 17:13:35 -0800 From: Jason Wells Organization: (soon to be) Highperformance.net X-Mailer: Mozilla 3.0Gold (Win95; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: finger reports the incorrect home directory for users Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I am currently in the process of moving a webserver that I run under windoze to my FreeBSD partition so that I may run the webserver under FreeBSD. Filenames and directory names have been selected to provide a continous file structure to the end-user. I adduser-ed three users into the default directory of "/usr/home". I then moved these directories to the directory "/web/*". "/web" being the location that I will run my webserver from. After moving these three directories I edited "/etc/master.passwd" to reflect the changes in the home directories of the users. I then fingered all three users and learned that finger reports the home directories to be "/usr/home/username" instead of "/web/username". DRAT! So I reviewed the source code to try and find the problem. Comments in the source tell me that finger pulls its data from "/etc/passwd". Thinking this to be an easy fix I just copied "/etc/master.passwd" into "/etc/passwd". This also did not work. Finger still reports the home directories incorrectly. The basic C programming class that I have taken does not lend me enough confidence to think that I can code the source to finger better than the original author. How do I get finger to report home directories correctly? Perhaps this is a minor problem but I prefer to get this right. I suspect a fastidious approach to setting up FreeBSD will save me grief down the road. -- Thank you, Wannabe Sysadmin Jason Wells __________________________________________ / / / Highperformance.net / / The homeless domain / / "Pardon me sir, spare some bandwidth?" / /_________________________________________/