Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Red Hat Certified System Administrator (RHCSA) · Red Hat
Hotspot Scenario
Select the appropriate option to complete the statement. Click Check Answer below to see the marked solution.
Hotspot Solution:
yum install autofs nfs-utils -y /home/guests /etc/auto.ldap ldapuserX -fstype=nfs,rw,nosuid,softserver.domain11.example.com:/home/guests/ldapuserX chown -R ldapuser1:ldapuser1 /home/guests/ldapuserX chmod -R 700 /home/guests/ldapuserX systemctl enable --now autofs
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
yum install autofs nfs-utils -y /home/guests /etc/auto.ldap ldapuserX -fstype=nfs,rw,nosuid,softserver.domain11.example.com:/home/guests/ldapuserX chown -R ldapuser1:ldapuser1 /home/guests/ldapuserX chmod -R 700 /home/guests/ldapuserX systemctl enable --now autofs
Isn't ldap deprecated by redhat 9 and 10?
vi /etc/auto.master add "/home/guests /etc/auto.ldap vi /etc/auto.ldap add "ldapuserX server.domain11.example.com:/home/guests/ldapuserX" #No need to specify -fstype since it was NFS, see 'man autofs'