home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!usc!rpi!bu.edu!nntp-read!jc
- From: jc@raven.bu.edu (James F. Cameron)
- Newsgroups: comp.sys.sun.admin
- Subject: Re: How to autorebuild yp data in response to yppasswd?
- Message-ID: <JC.92Nov18143651@raven.bu.edu>
- Date: 18 Nov 92 19:36:51 GMT
- References: <CSS.92Nov18102735@tron.stx.com>
- Sender: news@bu.edu
- Organization: What do you mean 'That *can't* be done????'
- Lines: 42
- In-reply-to: css@tron.stx.com's message of 18 Nov 92 15:27:35 GMT
-
-
- >>>>> "Chris" == Chris Shenton <css@tron.stx.com> writes:
-
- Chris> Nntp-Posting-Host: tron.stx.com
-
- Chris> I've been asked to set up a couple Suns and am having
- Chris> problems getting the rpc.yppasswdd to automatically rebuild
- Chris> the yp maps after a user changes his/her info with a yppasswd
- Chris> command. The manual and manpages conflict in how to set this
- Chris> up and none of the permutations I have tried work.
-
- Chris> Both indicate I need add startup of rpc.yppasswdd in
- Chris> /etc/rc.local, and add the `-m' flag to automatically re-make
- Chris> in the /var/yp directory from the source passwd file which I
- Chris> keep in /var/etc/passwd. Here's my attempt -- with flames --
- Chris> any ideas?
-
- Chris> Thanks.
-
- [...]
-
-
- Chris> if [ -f /usr/etc/rpc.yppasswdd -a -d /var/yp/$dname ]; then
- Chris> rpc.yppasswdd /var/etc/passwd -m DIR=/var/etc ;
-
- [...]
-
- There is a bug in rpc.yppasswdd as it ignores the first argument which
- begins with a '-'. The solution is to add '-nosingle' as the first
- argument as this is the default behaivor.
-
- Hope that helps!
-
- James
- --
- -- James Cameron (jc@raven.bu.edu) (617) 353-2879
-
- System Manager, Signal Processing and Interpretation Lab. Boston, Mass
- ------------------------------------------------------------------------------
- "But to risk we must, for the greatest hazard in life is to risk nothing. For
- the man or woman who risks nothing, has nothing, does nothing, is nothing."
- (Quote from the eulogy for the late Christa McAuliffe.)
-