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