Operating System - Linux
1828642 Members
7501 Online
109983 Solutions
New Discussion

automounter user/uid problem/question.

 
joseph wholey
Regular Advisor

automounter user/uid problem/question.

I'm using automounter on RHAS3 to mount my home directory that reside on an AIX server. My uid on the AIX server is 514. The uid 514 on the Linux server belongs to another user. When I log into the linux server and automounter mounts my home directory, the owner of all of my files and directories becomes the linux 514 uid/user. Is there anything I can do to remedy this, or is it just a matter of synching up uids across servers and platforms. I forsee this becoming an administrative nightmare as uids are not syched up across platform and in some cases across servers of the same platform.
3 REPLIES 3
Jeff_Traigle
Honored Contributor

Re: automounter user/uid problem/question.

No way around it other than syncing the UIDs. Depending on your environment, LDAP or NIS may be possible ways to alleviate the administrative nightmare.
--
Jeff Traigle
Ivan Ferreira
Honored Contributor

Re: automounter user/uid problem/question.

Maybe you can grant all access to some group in the NFS server files, create the same group on your linux workstation and match the GID. Add your user account to that GID.

When you access the NFS server, access will be granted by group.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
joseph wholey
Regular Advisor

Re: automounter user/uid problem/question.

Thanks for the info... I've decided to change the mis-matched uids as follows:

find / -uid 500 -ls (finger check)
find / -uid 500 -print0 | xargs -0 chown (make the change)