Sponsored Content
Full Discussion: NIS and automounter...
Operating Systems AIX NIS and automounter... Post 99815 by Garry_Garrett on Tuesday 21st of February 2006 07:18:11 PM
Old 02-21-2006
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.)?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

automounter

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

2. 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

3. UNIX for Dummies Questions & Answers

automounter

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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. Red Hat

How to mount NFS using automounter(autofs)?

I have an nfs at 192.168.1.10:/home/vm1/Desktop/nfs 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
nissetup(1M)						  System Administration Commands					      nissetup(1M)

NAME
nissetup - initialize a NIS+ domain SYNOPSIS
/usr/lib/nis/nissetup [-Y] [domain] DESCRIPTION
nissetup is a shell script that sets up a NIS+ domain to service clients that wish to store system administration information in a domain named domain. This domain should already exist prior to executing this command. See nismkdir(1) and nisinit(1M). A NIS+ domain consists of a NIS+ directory and its subdirectories: org_dir and groups_dir. org_dir stores system administration informa- tion and groups_dir stores information for group access control. nissetup creates the subdirectories org_dir and groups_dir in domain. Both subdirectories will be replicated on the same servers as the parent domain. After the subdirectories are created, nissetup creates the default tables that NIS+ serves. These are auto_master, auto_home, bootparams, cred, ethers, group, hosts, mail_aliases, netmasks, networks, passwd, protocols, rpc, services, and timezone. The nissetup script uses the nistbladm(1) command to create these tables. The script can be easily customized to add site specific tables that are created at setup time. This command is normally executed just once per domain. While this command creates the default tables, it does not initialize them with data. This is accomplished with the nisaddent(1M) command. It is easier to use the nisserver(1M) script to create subdirectories and the default tables. OPTIONS
-Y Specify that the domain will be served as both a NIS+ domain as well as an NIS domain using the backward compatibility flag. This will set up the domain to be less secure by making all the system tables readable by unauthenticated clients as well. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
nis+(1), nismkdir(1), nistbladm(1), nisaddent(1M), nisinit(1M) nisserver(1M), attributes(5) NOTES
NIS+ might not be supported in future releases of the SolarisTM Operating Environment. Tools to aid the migration from NIS+ to LDAP are available in the Solaris 9 operating environment. For more information, visit http://www.sun.com/directory/nisplus/transition.html. SunOS 5.10 13 Dec 2001 nissetup(1M)
All times are GMT -4. The time now is 06:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy