Friday, 18 March 2011

NFS & NIS (authentic linux client with linux sever)

                                                      NFS & NIS


NFS

NFS -            Network File System
Port no.         2049
Conf. file       /etc/exports
init script      /etc/ini.t/nfs

suppose i want to share /home directory of server in clients

1) open a file /etc/exports
/home(rw,sync) *.shreesailug.com
this means share can use only in my domain suppose i want to share to all domains then just put * dont put any domain name .
we are here doing nis also so i have given permission rw so that user can write to there home directory
no_root_squash