NIS and automounter...

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
Operating Systems AIX NIS and automounter...
# 1  
NIS and automounter...

Have an AIX 5.2 box. I had automounter already setup to control /home using /etc/auto_home as an indirect automount map.

Then we added NIS. We have it working, but for some reason, the NIS table auto.home seems to override /etc/auto_home entries. Of course, there are some duplicates (usernames that appear in NIS and /etc/passwd, with different home directories and UIDs, etc.). I want /etc/auto_home to override NIS. I need to synch up UIDs, home directories (in most cases, but there are some exceptions), etc. but I was hoping to be able to add some select users from NIS while I go about the long process of syching up users and UIDs.

I'm used to Solaris where I have an /etc/nsswitch.conf file and I can specify the order to search. Is there anything I can do to configure the order that the automounter will use (i.e. so I can say "use /etc/auto_home before you go to NIS", etc.)?
# 2  
try adding in /etc/netsvc.conf

# 3  
Originally Posted by b_manu78
try adding in /etc/netsvc.conf

Try adding what to /etc/netsvc.conf? What is the syntax?

I know how to add syntax for /etc/hosts (i.e. do I search DNS or /etc/hosts first, etc.). I know it can also be used to determine the order to search e-mail aliases. That's only two of the 15 things nsswitch.conf does. I haven't seen any syntax to tell it an order to search for home directories to NFS automount. If it can be done, by all means, tell me how.

Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #40
Difficulty: Easy
HTML stands for 'Hyper Technology Transfer Protocol'.
True or False?

10 More Discussions You Might Find Interesting

1. Red Hat

How to mount NFS using automounter(autofs)?

I have an nfs at and will like to mount locally to /home/vm1/Desktop/nfs-mount using automounter...need help doing do What i did $cat /etc/auto.master /home/vm1/Desktop /etc/auto.nfs $cat /etc/auto.nfs nfs-bind -fstype=nfs ... (3 Replies)
Discussion started by: nokia3310
3 Replies

2. IP Networking

Naming services + Automounter

Hi gurus, I am trying to understand the enviroment which we are using. The fact that I am asking is that this is production enviroment and I cannot change anything to experiment. Following servers are somehow related to each other, please help me figure out if my conclusions are correct. -... (0 Replies)
Discussion started by: wakatana
0 Replies

3. Red Hat

Automounter floods ioctl and futex error messages

Hi! I have a wondering regarding the syscalls automounter floods out when running strace on the process, are the below ioctl & futex messages bad? and is there any way to investigate em deeper? ioctl(3, 0xffffffffc018937c, 0x417a8020) = -1 EAGAIN (Resource temporarily unavailable) ioctl(3,... (5 Replies)
Discussion started by: Esaia
5 Replies

4. Shell Programming and Scripting

Validating that the NIS and NIS+ services are disabled

I'm creating a scrip for auditing our AIX box's to ensure that they are built according to our system standards. I'm not sure on the logic for checking to see if the NIS and NIS+ services are disabled. any idea's? (2 Replies)
Discussion started by: sport
2 Replies

5. Solaris

How to configure a NIS client bound to the NIS server in another subnet?

Hi, all. I have a Solaris client here needs to bind to NIS server in another subnet. Following is the configuration i made on the client, 1) edit /etc/inet/hosts to add an entry of the NIS server -- nserver01 2) execute `domainname` to set local NIS domain to the domain of the NIS server.... (1 Reply)
Discussion started by: sn_wukong
1 Replies

6. UNIX for Advanced & Expert Users

SUSE 9 and 10 NIS clients with RedHat 8.0 NIS server not working

We have a RedHat 8.0 NIS master, with a RedHat 8.0 NIS Slave. We also have a small number of SUSE 9.1 and SUSE 10 machines here for evaluation. However, no matter what i do, the SUSE machines will not talk to the NIS Servers. If i broadcast for NIS Servers for the specified NIS domain, it... (1 Reply)
Discussion started by: fishsponge
1 Replies

7. UNIX for Dummies Questions & Answers

NIS map mail.aliases specified, but NIS not running

Hi all, I just took over the admin role from someone and I wanna setup sendmail (just to send mail from the host) however, after I config all the resolv.conf, nssitch.conf, hosts file and when I try to send a mail out, after I punched ctl-D, it returned he following, "NIS map mail.aliases... (2 Replies)
Discussion started by: stancwong
2 Replies

8. UNIX for Dummies Questions & Answers


Hi ALL, Does anyone know how automounting can be disabled in solaris? (I need to mount the home directory on to a sun machine from another machine. So I run something like mount another_machine:/home /home (on my sun) however i get an error saying device busy) I was told automouting... (1 Reply)
Discussion started by: rkap
1 Replies

9. UNIX for Advanced & Expert Users

Solaris NIS+ and RedHat NIS+

Hello all, I'm not sure if this is the right forum, but I would like to know if Redhat running NIS ( not NIS +) would have conflict with Solaris running NIS+. Currently I am running NIS+ on Solaris but will be adding RedHat to the network. I seem to be unable to find and information regarding... (2 Replies)
Discussion started by: larry
2 Replies

10. UNIX for Dummies Questions & Answers


I have this question in my study guide could anyone please help me with the answer and (explicit) explanation. hostname: HOSTONE automounter file: /etc/auto.home entry: scps HOSTTWO:/export/home/scps commands executed on HOSTONE, mark all commands where the automounter will be invoked. ... (3 Replies)
Discussion started by: almendrita
3 Replies

Featured Tech Videos