You can find the vasyp.depot file in the client directory for your HPUX operating system on the installation media.
To install and configure vasyp on HP-UX
- Stop the system ypserv and ypbind daemons by running the following commands as root:
# /sbin/init.d/nis.server stop # /sbin/init.d/nis.client stop
To ensure that the system ypserv daemon does not start at boot time, modify /etc/rc.config.d/namesvrs and set the NIS_MASTER_SERVER and NIS_SLAVE_SERVER variables to 0.
Note: You do not need to do this if the machine is not configured as a NIS server.
- As root, mount the Safeguard Authentication Services installation CD and change to the hpux directory.
- To install the depot on an HP-UX client, enter the following command:
# swinstall -s /cdrom/hpux-<platform>/vasyp_<platform>-<version>.depot vasyp
- Create the /var/yp/binding/example.com directory where example.com is the Active Directory domain to which you are joined.
- Create the /var/yp/binding/example.com/ypservers file, and add the following line, or modify the existing file to only contain this line:
localhost
- Set the system NIS domain name to match the Active Directory domain to which you are joined by running the following command as root:
# domainname example.com
where example.com is the domain to which your machine has been joined.
- Set the NIS domain name permanently by modifying /etc/rc.config.d/namesvrs so that the NIS_DOMAIN variable is set to the Active Directory domain to which the Unix machine is joined.
- To ensure that the system NIS client processes starts at boot time, set the NIS_CLIENT variable in /etc/rc.config.d/namesvrs to 1.
- Start vasyp with the following command:
# /sbin/init.d/vasypd start
- (Optional) Start ypbind with the following command:
# /sbin/init.d/nis.client start
You can now use the NIS utilities like ypwhich and ypcat to query vasyp for NIS map data.