cancel
Showing results for 
Search instead for 
Did you mean: 
Tanveer
Flight Engineer
Flight Engineer
  • 8,103 Views

RHCSA-RH134 Lab

Jump to solution

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.

Labels (1)
10 Replies
QZQ
Cadet
Cadet
  • 913 Views

Can someone please share the link for RGH134 course 

0 Kudos
Join the discussion
You must log in to join this conversation.