Sponsored Content
Full Discussion: AUTOFS/NIS permission issue
Operating Systems HP-UX AUTOFS/NIS permission issue Post 302826853 by mrmurdock on Thursday 27th of June 2013 12:37:54 PM
Old 06-27-2013
AUTOFS/NIS permission issue

This is unfortunately for a Tru64 5.1 PK4 system.

I have Autofs running and it seems to read and mount the NIS maps, however, on a couple of maps, eventhough is says (rw), the user home directory of /home is (ro). See cut and paste Below. This prevents the automounting of Users home directories. the auto.vol nis maps work just fine. The other file system is auto.sysadmin that has same issue. Works fine with "AUTOMOUNT". There is no local /etc/auto.master (auto_master), or /etc/auto.home (auto_home). These do not help the situation.
The real problem is with automount, the home directories get mounted under /tmp_mnt/home/<user>. So users enviroment variables have to be changed throughout their developement environment on this server. AutoFS is suppose to remedy this.

The NIS server is a Solaris 10. The Nfs Server is also a Solaris 10 box. I have no issues with HP/UX boxes or Solaris boxes using same NIS/NFS servers.
Code:
 
# mount -e
root_domain#root on / type advfs (rw)
/proc on /proc type procfs (rw)
usr_domain#usr on /usr type advfs (rw)
usr_domain#var on /var type advfs (rw)
home_domain#home on /bulldogs type advfs (rw)
auto.sysadmin on /sysadmin type autofs (rw, nogrpid)
auto.home on /home type autofs (rw, nogrpid)
auto.vol on /vol type autofs (rw, nogrpid)
-hosts on /net type autofs (rw, nogrpid)

# mkdir /home/old
mkdir: cannot write directory /home
/home: Permission denied


Last edited by vbe; 06-30-2013 at 08:59 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Solaris 9 NIS user creation issue

Helloo to all... what is the correct way to assign a password to a new NIS user on a NIS master server? When I the following: useradd -s /bin/bash -d /export/home/username -m username The user get created fine but when I try to assign a password I get: #passwd username... (0 Replies)
Discussion started by: GLJ@USC
0 Replies

2. Solaris

make issue when I add some members into a NIS group on solaris 9,please help !!

Hello Sir, I want to add some members into a group on NIS domain, but when I run "/usr/ccs/bin/make group" to update the group map it was failed :-( the error message is : problem storing develop... (4 Replies)
Discussion started by: lk74612
4 Replies

3. Solaris

NIS password file update issue

Hi Our nis server running on Sun solaris 8 operating system. I have added a new user in the nis passwd file & when I am trying to update the file from nis server by using following command: # cd /var/yp # make updated passwd It updates the passwd file but does not come back to command... (3 Replies)
Discussion started by: dolphin
3 Replies

4. Solaris

nfs/nis client ownership issue

Hi, I have 2 systems - solaris 10 1 is nfs/nis server while other is nis/nfs client and user directories mounted on the client. the authentication works fine. but I find out of all users, only 2 users directory is owned by some usernames who are local user on client system. I checked... (3 Replies)
Discussion started by: upengan78
3 Replies

5. HP-UX

Permission Issue on HP-UX

Good day guys, I am very new in UNIX and am trying to install an application which uses an application ID that requires administrative privileges (Full control). In most cases, we use SUDO to grant access to this ID however the customer insisted NOT to use SUDO and Root ID is not to be used to... (1 Reply)
Discussion started by: mcdsweet98
1 Replies

6. SuSE

autofs: Ignore a specific NIS map

Hi! I have an issue with SuSE machines when trying to override the NIS map for home folders. My /etc/auto.master contains the following: /home yp auto.homehub +auto.master auto.homehub contains the NIS keys for all users home directories. in auto.master there also is a auto.home which... (0 Replies)
Discussion started by: Esaia
0 Replies

7. AIX

Permission Issue

Hi Team, I am using AIX 6.1 version. I have two log id IDs say (user1 and user2) Both users primary group is same. ex (group1) I have created directory called /logs/app using user1 and permissions are like below /logs ------ drwxrwxr-x /logs/app ----- drwxrwxrwx But all the process... (3 Replies)
Discussion started by: balasubramani04
3 Replies

8. UNIX for Dummies Questions & Answers

NFS issue with autofs in CentOS 6.3

I am running CentOS 6.3 as a VM on a host which has the same installation. I configured my NFS server and I am guessing it works. I say guessing because I can mount the desired folder with mount command on my client machine. So, when I run: mount -t nfs -o vers=3 vm2.domain.com:/nethome /nethit... (7 Replies)
Discussion started by: bashily
7 Replies

9. Red Hat

Autofs issue

Hi I'm trying to use autofs to mount a directory structure. I have a directory with sub directories in it and all of them mounted on their respective filesystems /dbname /dev/mapper/vg_dbname-Home /dbname/oracle00 /dev/mapper/vg_dbname-Data00... (3 Replies)
Discussion started by: maverick_here
3 Replies

10. Solaris

NIS/smtp services issue on Solaris 11

Hi, Few services not starting on new build Solaris 11 non-global zone. I uninstalled zone and reinstalled and still same issue, while global zone is working fine. smpt service is going into maintenance mode and /var/svc/log/network-smtp:sendmail.log shows that it tries and then dead ... (0 Replies)
Discussion started by: solaris_1977
0 Replies
AUTOMOUNT2AMD(8L)														 AUTOMOUNT2AMD(8L)

NAME
automount2amd - converts old Sun automount maps to Amd maps SYNOPSIS
automount2amd auto.map DESCRIPTION
automount2amd is used to convert an old Sun automount maps named auto.map to an Amd map. This perl script will use the following /default entry type:=nfs;opts:=rw,grpid,nosuid,utimeout=600 If you wish to override that, define the $DEFAULTS environment variable, or modify the script. If you wish to generate Amd maps using the hostd (host domain) Amd map syntax, then define the environment variable $DOMAIN or modify the script. EXAMPLE
Say you have the Sun automount file auto.foo, with these two lines: home earth:/home moon -ro,intr server:/proj/images Running automount2amd auto.foo > amd.foo will produce the Amd map amd.foo with this content: # generated by automount2amd on Sat Aug 14 17:59:32 US/Eastern 1999 /defaults type:=nfs;opts:=rw,grpid,nosuid,utimeout=600 home host==earth;type:=link;fs:=/home rhost:=earth;rfs:=/home moon -addopts:=ro,intr host==server;type:=link;fs:=/proj/images rhost:=server;rfs:=/proj/images BUGS
automount2amd does not understand newer Sun Automount map syntax, those used by autofs. SEE ALSO
conv2amd(8),amd(8). AUTHORS
Original author Mike Walker <mike@tab00.larc.nasa.gov>. Script modified by Erez Zadok <ezk@cs.columbia.edu>, Department of Computer Sci- ence, Columbia University, New York, USA. 24 May 1993 AUTOMOUNT2AMD(8L)
All times are GMT -4. The time now is 05:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy