[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Translate user names with NFS

Dan <ganchya@gmail.com> writes:

>If you have the same user  (ex. pedro) with the same name but
>different UID and GID NFS4 will do the conversion. Therefore I am just
>going to sync the names between the two machines. To do that I guess
>that I just need to change the file /etc/passwd and /etc/group Should
>I update the names somewhere else?

/etc/shadow and /etc/gshadow

Other specific application configs may have already recorded a username
in a config/state file somewhere.

You will probably also want to rename the home directory for the user
and update that in /etc/passwd too.

Reply to: