home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sun / admin / 5579 < prev    next >
Encoding:
Internet Message Format  |  1992-08-16  |  1.8 KB

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