*BSD News Article 86428


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.swin.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!phaedrus.kralizec.net.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!news.intersurf.net!www.nntp.primenet.com!nntp.primenet.com!news.fibr.net!news.sprintlink.net!news-fw-6.sprintlink.net!super.zippo.com!zdc-e!feed1.news.erols.com!howland.erols.net!news.mathworks.com!uunet!in3.uu.net!140.142.64.3!news.u.was
hington.edu!root
From: Jason Wells <jcwells@u.washington.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Finger reports home directories incorrectly
Date: Tue, 07 Jan 1997 17:21:07 -0800
Organization: (soon to be) Highperformance.net
Lines: 38
Message-ID: <32D2F683.7D56@u.washington.edu>
NNTP-Posting-Host: S5-25-199.student.washington.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0Gold (Win95; I)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33791

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?" /
/_________________________________________/