home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!deakin.OZ.AU!cs.uow.edu.au!cssc-woll.tansu.com.au!cssc-syd.tansu.com.au!rodney
- From: rodney@cssc-syd.tansu.com.au (Rodney Campbell)
- Newsgroups: comp.sys.sun.admin
- Subject: Re: question on yypasswd - rpc.yypasswdd
- Message-ID: <1992Aug16.061606.7385@cssc-syd.tansu.com.au>
- Date: 16 Aug 92 06:16:06 GMT
- References: <9208032021.aa13698@q2.ics.uci.edu>
- Organization: Customised Software Solutions Centres, AOTC
- Lines: 39
-
- ahalim@ics.uci.edu writes:
-
-
- >If NIS is running, how does one make passwd/yppasswd automatically force
- >the propagation of changes in the server's map files?
-
- >I put the following in the rc.local of the NIS master server:
-
- >if [ -f /usr/etc/rpc.yppasswdd ]; then
- > /usr/etc/rpc.yppasswdd /etc/passwd -m passwd DIR=/var/yp
- > echo "Starting yppasswdd"
- >fi
-
- >The above lines didn't seem to work. I still needed to manually run 'make'
- >in the /var/yp so that the changes will take into effect immediately when
- >someone tried to change his/her passwd by running passwd/yppasswd.
-
- >Does someone have a clue to the above problem?
-
- Here we go again -...
-
- There is a bug in 4.1 rpc.yppasswdd that causes it misinterpret
- the command line arguments. A work-around is to add the
- "-nosingle" flag (which is the default), this shifts the
- arguments over one, so "passwd" is read instead of "-m".
-
- For example:
-
- rpc.yppasswdd /var/yp/passwd -nosingle -m passwd DIR=/var/yp
-
- If you are running the C2 security package, you should apply
- patch 100201-04, as it fixes several problems with rpc.yppasswdd.
-
- Rodney...
- --
- Rodney Campbell - AOTC |Email : rodney@cssc-syd.tansu.com.au
- Advanced Network Products |Snail : Level 1, 18-20 Orion Rd, Lane Cove West
- Customised Software Solutions | - PO Box A226, Sydney South 2000, Australia.
- Centre - Sydney |Phone : +61 (0)2 911 3123 Fax: +61 2 911 3199
-