Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin


Static Mapping NFS

Author:silverwolf - Tue Aug 19 18:24:18 2003

Static Mapping for NFS is used for mapping a local user or group id to a remote user or remote id. So you dont have to sync. user database on both machines.

Make the file /etc/nfs/maps.map and put this lines in

uid 1000        0

that will map remote userid 1000 to local userid 0 (root).

you can add as many as you want, use "gid" if it's group id's

and then in /etc/exports

add 

map_static=/etc/nfs/maps.map 

like this

/share  192.168.0.1(rw,no_root_squash,map_static=/etc/nfs/maps.map)

Have fun'
Copyright(c) Unifix.org 2002-2011


Dashboard - News - Search - List - About - Admin
 
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk