home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sun / admin / 9802 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  1.8 KB

  1. Path: sparky!uunet!gatech!cae!cae!not-for-mail
  2. From: vincent@cad.gatech.edu (Vincent Fox)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: Re: NIS Question: rpc.yppasswd
  5. Date: 29 Dec 1992 23:08:37 -0500
  6. Organization: Georgia Institute of Technology, CAE/CAD Lab
  7. Lines: 41
  8. Message-ID: <1hr7c5INN50h@cae.cad.gatech.edu>
  9. References: <1992Dec29.183958.1@cudnvr.denver.colorado.edu>
  10. NNTP-Posting-Host: cae.cad.gatech.edu
  11.  
  12. In <1992Dec29.183958.1@cudnvr.denver.colorado.edu> sasurguine@cudnvr.denver.colorado.edu writes:
  13. >Qucik NIS question:
  14. >I am working on a new machine, can't seem to fire up yppasswd on this beast.
  15. >When I tried to fire it up, I received message: 
  16. >rpc.yppasswd not running on server
  17.  
  18. I assume ypserv, ypbind, etc. all are running okay?
  19.  
  20. >I tried to fire up YPPASSWD using : 
  21. >/usr/etc/rpc.yppasswd /var/yp/passwd
  22.  
  23. >only to receive an error: Can't write to /var/yp/passwd
  24.  
  25. Sounds like there is no file /var/yp/passwd, is there one?
  26.  
  27. Here's what I run out of /etc/rc.local:
  28. #
  29. # Added by Vincent Fox - 2/15/92 so users could remotely set passwords
  30. if [ -f /usr/etc/rpc.yppasswdd ]; then
  31.        /usr/etc/rpc.yppasswdd /var/yp/src/passwd -nogecos -m passwd &
  32.             (echo -n ' yppasswdd')  >/dev/console
  33. fi
  34.  
  35. The above assumes that I have a /var/yp directory with the following
  36. characterics:
  37. 1) A Makefile that can take the source files and make them into NIS dbm files.
  38. 2) I keep source files in /var/yp/src, with mods to /var/yp/Makefile as
  39.    needed.
  40.  
  41. >Im not an NIS guru yet, could someone give me a quick point in the right
  42. >direction
  43.  
  44. NIS isn't hard. I use -nogecos so users can't change their finger-handle
  45. stuff to objectionable/useless/obscene material. -nogecos also fixes things
  46. so the -m is processed correctly. You could use -nosingle, but you should
  47. use *something* before the -m, as it bugs out if you put it first.
  48.  
  49. >Thanks In Advance for Any help:
  50.  
  51. Sure :-)
  52.  
  53.