Câu 8: EX300: Red Hat Certified Engineer (RHCE)
Configure NFS service -Configure the NFS service on the system1, as required:1. Share the directory /public in read only way, just can be accessed by systems in domain11.example.com at the same time2. Share the directory /protected in rad and write way, Kerberos security encryption required, you can use the key provid…
Nội dung câu hỏi
Configure NFS service -Configure the NFS service on the system1, as required:1. Share the directory /public in read only way, just can be accessed by systems in domain11.example.com at the same time2. Share the directory /protected in rad and write way, Kerberos security encryption required, you can use the key provided by the following URL: http://host.domain11.example.com/materials/nfs_server.keytab3. Directory /protected should contain the sub directory named project and deepak;4. User deepak can access /protected/project in read and write ways
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. system1:vim /etc/exports/protected 172.24.11.0/24(rw,sync,sec=krb5p)/public 172.24.11.0/24(ro,sync)wget -O /etc/krb5.keytabhttp://host.domain11.example.com/materials/nfs_server.keytabvim /etc/sysconfig/nfs RPCNFSDARGS="-V 4.2 ":wqsystemctl restart nfssystemctl start nfs-secure-serversystemctl enable nfs-secure-serverexportfs rashowmount efirewall-cmd --add-service=nfs permanentfirewall-cmd --add-service=rpc-bind permanentfirewall-cmd --add-service=mountdpermanentsystemc tl restart fiewalldmkdir -p /protected/projectchown deepak /protected/project/ll /protected/chcon -R -t public_content_t /protected/project/ — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.