Dear all,
As-salamu alaykum
Note:- Purpose of this post is not to distribute the RHCSA material but to clear my confusion.
In the end of the book RH134 there is a Chapter named COMPREHENSIVE REVIEW, there is LAB question the LAB CONFIGURING AND MANAGING SERVER SECURITY.
Q:-Configure serverb to automatically mount the home directory of the production5
user when the user logs in, using the network file system /home-directories/
production5. This network file system is exported from servera.lab.example.com.
Adjust the appropriate SELinux Boolean so that production5 can use the NFS-mounted
home directory on serverb after authenticating via SSH key-based authentication. The
production5 user's password is redhat.
Given answer that i did not understand is :-
Create the autofs master map file called /etc/auto.master.d/
production5.autofs with the following content.
/- /etc/auto.production5
Create the /etc/auto.production5 file with the following content
/localhome/production5 -rw servera.lab.example.com:/home-directories/
production5
Confusion point why the mount is /localhome/production5 instead of /home/production5.
Can someone please share the link for RGH134 course
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.