nerdexam
Red_Hat

RH302 · Question #176

You have a directory /local. You want to make available that directory to all the members of example.com and trusted.cracker.org. But directory should be available in read and write to all the…

vi /etc/exports Add the following line to /etc/exports: /local *.example.com(rw,sync) trusted.cracker.org(ro,sync) service nfs start | restart service portmap start | restart chkconfig nfs on chkconfig portmap on

Service management

Question

You have a directory /local. You want to make available that directory to all the members of example.com and trusted.cracker.org. But directory should be available in read and write to all the members of example.com domain and read only to cracker.org domain.

Explanation

vi /etc/exports

Add the following line to /etc/exports:

/local *.example.com(rw,sync) trusted.cracker.org(ro,sync) service nfs start | restart service portmap start | restart chkconfig nfs on chkconfig portmap on

Topics

#NFS exports#mixed permissions#domain restriction#access control

Community Discussion

No community discussion yet for this question.

Full RH302 Practice