1824174 Members
2109 Online
109669 Solutions
New Discussion

Re: NIS Automount Issue

 
Sridhar
Occasional Contributor

NIS Automount Issue

Hi All

     I have a NIS server running on HPUX 11.23. When I create a account with Automount after that the maps for auto.home is not updating even after running ypmake command several time.. Can some tell how to update the maps for auto.home

3 REPLIES 3
Gary Cooper_1
Esteemed Contributor

Re: NIS Automount Issue

On your NIS server, try doing a 'ypcat auto.home' to see if it sees the changes. If it does, log onto your NIS client machine, and execute the 'automount' command (with no parameters) as root.

 

Hope that helps,

 

Gary

Sridhar
Occasional Contributor

Re: NIS Automount Issue

Ypcat auto.home is showing the list but its not updating if i make any modification in /etc/auto.home file.

I have even executed ypmake command to rebuild the maps but its not updating

Gary Cooper_1
Esteemed Contributor

Re: NIS Automount Issue

Hi Sridhar,

 

When I make updates to my NIS automount file (auto_home), I execute the following commands on the NIS server (as root)...

 

# cd /var/yp                                                # Important to do this

# /usr/ccs/bin/make auto.home

 

Then on all NIS clients (as root)...

# automount

 

Hope that helps.

 

Regards,

 

Gary