home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sun / admin / 5046 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  1.6 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uwm.edu!rpi!bu.edu!nntp-read!jc
  2. From: jc@raven.bu.edu (James Cameron)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: Re: How to properly call rcp.yppasswdd.
  5. Message-ID: <JC.92Jul28173800@raven.bu.edu>
  6. Date: 28 Jul 92 21:38:00 GMT
  7. References: <JC.92Jul28121813@raven.bu.edu>
  8. Sender: news@bu.edu
  9. Organization: What do you mean 'That *can't* be done????'
  10. Lines: 37
  11. In-reply-to: jc@raven.bu.edu's message of 28 Jul 92 16:18:13 GMT
  12.  
  13. >>>>> "Me" == James Cameron <jc@raven.bu.edu> writes:
  14.  
  15.  
  16.   Me> System: Running SunOS 4.1.1
  17.  
  18.   Me> Problem: rpc.passwdd does not correctly update NIS information.
  19.   Me> I recall someone mentioning that there was a bug and you simply
  20.   Me> needed to do somthing trivial.  What might this be?
  21.  
  22.   Me> Thanks for the info!
  23.  
  24.   Me> --
  25.  
  26.  
  27. The "solution" is to call it with an invalid argument which is simply
  28. ignored: 
  29.  
  30. if [ -f /usr/etc/rpc.yppasswdd ]; then
  31.         /usr/etc/rpc.yppasswdd /etc/passwd -x -m passwd ; echo " yppasswdd "
  32. fi
  33.  
  34. [...This is located in /etc/rc.local...]
  35.  
  36. Thanks goes out to:
  37.  
  38.  Hannu Visti <visti@cs.hut.fi>
  39.  
  40. and the many more I am sure to receive before this gets circulated. *8-)
  41.  
  42. --
  43.             -- James Cameron  (jc@raven.bu.edu) (617) 353-2879
  44.                       
  45.     System Manager, Signal Processing and Interpretation Lab.  Boston, Mass  
  46. ------------------------------------------------------------------------------
  47. "But to risk we must, for the greatest hazard in life is to risk nothing.  For
  48. the man or woman who risks nothing, has nothing, does nothing, is nothing."
  49.     (Quote from the eulogy for the late Christa McAuliffe.)
  50.