home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pmafire!news.dell.com!swrinde!sdd.hp.com!usc!snorkelwacker.mit.edu!bloom-picayune.mit.edu!news.mit.edu!jdell
- From: jdell@nefertiti.mit.edu (John Ellithorpe)
- Newsgroups: comp.sys.sun.admin
- Subject: Re: Help me with yppasswdd and 4.1.2
- Message-ID: <JDELL.92Sep2165139@nefertiti.mit.edu>
- Date: 2 Sep 92 21:51:39 GMT
- References: <1992Sep2.162732.14695@wuecl.wustl.edu>
- Sender: news@athena.mit.edu (News system)
- Organization: Massachusetts Institute of Technology
- Lines: 34
- In-Reply-To: kevin@rodin.wustl.edu's message of Wed, 2 Sep 1992 16:27:32 GMT
- Nntp-Posting-Host: nefertiti.mit.edu
-
- On Wed, 2 Sep 1992 16:27:32 GMT, kevin@rodin.wustl.edu (Kevin Ruland) said:
- > Nntp-Posting-Host: rodin
- >
- > I can't seem to get rpc.yppasswdd to work correctly. The symptom is:
- > passwd will change the entry in the passwd input file but the make
- > is not being done. I know the make isn't being done because the
- > timestamp, passwd.time, is always the old one. My input files are in
- > /var/etc (non-standard place) and I've started yppasswdd in rc.local
- > with, rpc.yppasswdd /var/etc/passwd -m passwd . The makefile in
- > /var/yp works correctly by hand (that is DIR is set right). This is
- > exactly the same setup I used on my old machine running 4.1.1a.
-
- Our server (SPARC 330) is still on SunOS 4.1, but all I did to get
- rpc.yppasswdd to work right is start it up:
-
- /usr/etc/rpc.yppasswdd /var/etc/passwd -m passwd DIR=/var/etc
-
- and it works fine. I didn't have to change the Makefile in /var/yp.
- This way obviously has the problem that I inadvertently go to the /var/yp
- directory and type make, then it will take the passwd file in the /etc
- directory, which doesn't have all the users in it. Therefore, no users
- can log on, which could be a bit of a problem ;-). But I've just
- written a very short shell script which remakes the NIS maps for me, so
- I don't have to remember little "bugs", like this, which I have created.
-
- John
- --
-
- ===============================================================================
- John Ellithorpe | Internet: jdell@maggie.mit.edu
- Dept. of Physics, Rm 26-349 | Phone : (617) 253-3074 Office
- Massachusetts Institute of Technology | (617) 253-3072 Lab
- Cambridge, MA 02139 | (617) 236-4910 Home
- ===============================================================================
-