Home » RedHat » EX200 v.2 » Configure autofs.
Configure autofs.
Configure the autofs automatically mount to the home directory of LDAP, as required:
server.domain11.example.com use NFS to share the home to your system. This file system contains a pre configured home directory of user IdapuserX.
Home directory of IdapuserX is: server.domain11.example.com/home/guests/ldapuser
Home directory of IdapuserX should automatically mount to the IdapuserX of the local /home/guests Home directory’s write permissions must be available for users Idapuser1’s password is password
A. See explanation below.
Correct Answer: A
Explanation/Reference:
Explanation:
yum install -y autofs
mkdir /home/rehome
• /etc/auto.master
/home/rehome/etc/auto.ldap
Keep then exit
cp /etc/auto.misc /etc/auto.ldap
• /etc/auto.ldap
IdapuserX -fstype=nfs,rw server.domain11.exarnple.com:/home/guests/
Keep then exit
systemctl start autofs
systemctl enable autofs
su – IdapuserX// test
If the above solutions cannot create files or the command prompt is -bash-4.2$, it maybe exist multi-level directory, this needs to change the server.domain11.example.com:/home/guests/to server.domain11.example.com:/home/guests/ldapuserX. What is multi-level directory? It means there is a directory of IdapuserX under the /home/guests/ldapuserX in the questions. This directory is the real directory.
Download Printable PDF. VALID exam to help you PASS.
|
|