RE: NIS auto_home map update

From: Abhijit Das (adas@Yodlee.com)
Date: Fri Oct 06 2006 - 02:48:13 EDT


 Dear Sirs/Managers

Looked at the Makefile for sometime .. Here is what I believe can be
done, pls correct me if am wrong.

Update /etc/auto_home to have only 1 entry ie ... "User1
Server1:/export/home/& "
Run -->
/usr/sbin/makedbm - /var/yp/domain.com/auto_home
touch auto_home.time
Execute yppush (optional)

Question is :-

If I have just one entry in /etc/auto_home .... Will it overwrite the
other entries already present in the database? OR it will add at the end
(just a simple append)

For eg, I have tons of entries in the map .. Ie if I issue ypcat -k
auto_home .. I see all the users with their corresponding home
directories

- Abhijit Das

-----Original Message-----
From: sunmanagers-bounces@sunmanagers.org
[mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of Abhijit Das
Sent: Thursday, October 05, 2006 10:07 PM
To: sunmanagers@sunmanagers.org
Subject: NIS auto_home map update

Dear Sirs/Manager

I am trying to update auto_home map in a NIS-Automount/NFS env ... Can
you please tell me how can I update the map directly [Since this is not
NIS+ the nistbladm command do not work]

My /etc/auto_home just has the entry +auto_home indicating home
directories are taken from the map

I added a line to /etc/aut_home for eg user1
machine1:/export/home/user1 and then ran make on auto_home.time file
under /var/yp directory, however the map is not getting updated.

Any directions/suggesions on this will be greatful

- Abhijit Das
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:40:58 EDT