Date: Tue, 07 Jan 1997 17:13:35 -0800 From: Jason Wells <jcwells@u.washington.edu> To: freebsd-questions@FreeBSD.ORG Subject: finger reports the incorrect home directory for users Message-ID: <32D2F4BF.3B8D@u.washington.edu>
next in thread | raw e-mail | index | archive | help
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?" / /_________________________________________/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32D2F4BF.3B8D>