NFS a mapovanie userov a ich prav

Vitezslav Novy vita at fio.cz
Mon Oct 20 13:40:22 CEST 2003


On Mon, 20 Oct 2003 11:55:44 +0200 Stefan Valastan <pista18 at zoznam.sk> wrote:

> Caute vie mi niekto objasnit, alebo odkazat na nejaku
> dobru literaturu na web-e ohladne danej problematiky, lebo
> mam v nej bordel.
> Priklad:
> v /etc/exports na host1mam tento riadok:
> /nfs/export -mapall=steve:steve -network 192.168 -mask 255.255.0.0
> 
> na host2 si ho mountnem ako /nfs

man 5 exports

...
-maproot=user:group1:group2:... The colon separated list is used to spec-
     ify the precise credential to be used for remote access by root.  The
     elements of the list may be either names or numbers.  Note that user:
     should be used to distinguish a credential containing no groups from a
     complete credential for that user.

-mapall=user or -mapall=user:group1:group2:... specifies a mapping for
     all client uids (including root) using the same semantics as -maproot.

cili 
option  -mapall=steve:steve znamena, ze at jste na host2
nalogovany jakkoliv, k exportovanemu filesystemu na host1 pristupujete jako user steve
a group steve.

vita







More information about the Users-l mailing list