From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078694111075.tru64-unix-managers.marc@archive.invalid> From: "Irene A. Shilikhina" Date: Wed, 04 Feb 1998 07:08:59 +0000 To: tru64-unix-managers Subject: SUMMARY: Nonroot user id mapping in NFS (without NIS) X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078694111075 Hello managers, my original message was: >Some of our ALPHA's users have their group and user identifiers on another >computer (with LINUX) in our local network different from these on the ALPHA >while they need read and write access to their home directories in LINUX >through NFS. > >MY QUESTION: >___________ >Is there any facility with some proxy function to map gid and uid on the >client side to these on the server side in order to provide access to these >users without granting it to the world and considering that no NIS available >on the local network. (I guess, it should be on the server side, if any; >so I'm a little wrong in my appeal to DU forum, however many managers concern >both UNIX systems, it's a reason why I address the question to "MY" list). >Besides, I'd like to avoid changing their identification on the ALPHA. > >Additional information: > >DU 3.2.c with C2. > >Thanks in advance, >Irene. I have received the following five answers: Charles Vachon wrote about the very thing I need, I think, because a server function (in a given case) falls to the LINUX system: >There is a daemon call ugidd that does uid mapping for NFS. I don`t know if >it is available on DU, but it is for Linux systems. Go to the Linux >Software Map at http://www.linux.org/help/lsm.html and enter ugidd in the >search form. > >Hope this helps :-) Peter Stern and Santosh Krishnan x2815 solved this problem simply by just making the uid the same on their Alpha machines as the user's uid on their other unix machines or vice versa. Phil Farrell wrote: >I think that you must conform the user and group ids of the NFS client >to the server, or permissions will not be set correctly for file access. > >You don't need to use NIS to do this; you can easily write some shell >scripts to run from crontab to periodically extract the /etc/passwd >records for the users on the clients and send them over to the client >machines to be inserted in the /etc/passwd file there. We do this >by copying those records to a file in a directory that is NFS exported >to the clients. A separate crontab program on the client then picks >up those entries from the NFS disk, merges them into the /etc/passwd >file, and runs "mkpasswd" to recreated the indexed password file. "Robert L. McMillin" finds the best to use the NIS. Much thanks to all of you! Regards, Irene. _______________________________________________________________________________ Irene A. Shilikhina (e-mail: irene@alpha.iae.nsk.su) DU system manager, Institute of Automation & Electrometry Novosibirsk, Russia _______________________________________________________________________________