Bug 20042 - provide a way to specify options to yppasswdd
provide a way to specify options to yppasswdd
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: ypserv (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Florian La Roche
Aaron Brown
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-10-30 12:06 EST by Thomas J Pinkl
Modified: 2007-04-18 12:29 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-10-30 12:06:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Thomas J Pinkl 2000-10-30 12:06:20 EST
It's very common to keep the text files that are used to generate the NIS
maps in a 
separate directory (ie. not using the standard /etc files).  On a master
NIS server, 
it will then be necessary to run yppasswdd with additional arguments that
tell it 
where to find the passwd and shadow files.

My current solution on Red Hat 7.0 is to add this to
/etc/sysconfig/network:

	YPPASSWDD_ARGS="-D /var/yp/etc"

and to modify the /etc/rc.d/init.d/yppasswd rc script to pass that env
variable, thus:

	daemon rpc.yppasswdd $YPPASSWDD_ARGS
Comment 1 Florian La Roche 2001-07-24 06:13:30 EDT
added now for the next rpm

Thanks,

Florian La Roche

Note You need to log in before you can comment on or make changes to this bug.