Sponsored Content
Full Discussion: AUTOFS/NIS permission issue
Operating Systems HP-UX AUTOFS/NIS permission issue Post 302827517 by MadeInGermany on Saturday 29th of June 2013 04:11:45 AM
Old 06-29-2013
Code:
mkdir /home/newdir

does not work if /home is controlled by automount|autofs.
Code:
df /home

should indicate automount|autofs.
Code:
mkdir /home/dir/newdir

should work (file permissions apply).
Code:
df /home/dir

can give two results dependent on if currently mounted or not.
Code:
df /home/dir/.

fosters a mount then gives a consistent result.
Code:
ls -l /home

Shows the currently mounted directories.
Additionally it might show not mounted directories (taken from the auto.home map) with arbitrary file owner|permissions; this is a browse feature.

Last edited by vbe; 06-30-2013 at 08:58 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
ypcat(1)							   User Commands							  ypcat(1)

NAME
ypcat - print values in a NIS database SYNOPSIS
ypcat [-kx] [-d ypdomain] mname DESCRIPTION
The ypcat command prints out values in the NIS name service map specified by mname, which may be either a map name or a map nickname. Since ypcat uses the NIS network services, no NIS server is specified. Refer to ypfiles(4) for an overview of the NIS name service. OPTIONS
-k Display the keys for those maps in which the values are null or the key is not part of the value. None of the maps derived from files that have an ASCII version in /etc fall into this class. -d ypdomain Specify a domain other than the default domain. -x Display map nicknames. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
ypmatch(1), ypfiles(4), attributes(5) SunOS 5.10 23 Jan 1995 ypcat(1)
All times are GMT -4. The time now is 07:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy