Return to BSD News archive
From: Pascal.Gienger@uni-konstanz.de (Pascal Gienger) Subject: Re: Finger reports home directories incorrectly Newsgroups: comp.unix.bsd.freebsd.misc References: <32D2F683.7D56@u.washington.edu> Lines: 28 X-Newsreader: TIN [UNIX 1.3 unoff BETA release 960722] Message-ID: <32d567c2.0@finesse.isdn.uni-konstanz.de> Date: 9 Jan 97 21:48:50 GMT NNTP-Posting-Host: pc193.isdn.uni-konstanz.de Organization: University of Constance, Germany 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.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!ix.netcom.com!netcom.net.uk!tank.news.pipex.net!pipex!howland.erols.net!news.nacamar.de!news-kar1.dfn.de!news-stu1.dfn.de!news.belwue.de!news.uni-konstanz.de!not-for-mail Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33909 Jason Wells <jcwells@u.washington.edu> wrote: : 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". FreeBSD does neither use master.passwd nor passwd to authenticate users ;) It is /etc/pwd.db and /etc/spwd.db. /etc/passwd is here for compatibility reasons and /etc/master.passwd to edit the password table. To remake pwd.db and spwd.db, simply type: pwd_mkdb -p /etc/master.passwd This will also generate /etc/passwd unless you don't give the "-p" option. Pascal -- Pascal.Gienger@uni-konstanz.de |Prefix +49 7531|Fon 16074|Fax 20370 -------------| http://www.geocities.com/WestHollywood/1381/ |----+--------- Rechenzentrum| Tolles Internet, Teil IX: Gestern las man zuerst einen Monat Uni Konstanz | Usenet bevor man zum 1. Mal postete. Heute: "Aaaah mee too!"