» Linux » Examen sur Linux » Examen 201 : Advanced Administration » Section 3 » Question 5/20
5.You want to export a local file system /data, and permit read-write access for all users on hostA. In addition, the root account on hostA should be allowed root level access. All other hosts are to have read-only access. Which of the following /etc/exports lines would you use?

/data hostA(rw,no_root_squash) (ro)
/data hostA(allow_root) -ro
/data -ro,rw=hostA(root)
/data hostA=rw,root *=ro
/data hostA(rw,all_squash,anonid=0) @all(ro)

Explanation

« Question 4 Question 6 »