exam questions

Exam EX200 All Questions

View all questions & answers for the EX200 exam

Exam EX200 topic 1 question 88 discussion

Actual exam question from RedHat's EX200
Question #: 88
Topic #: 1
[All EX200 Questions]

SIMULATION -
According the following requirements, configure autofs service and automatically mount to user's home directory in the ldap domain.
- Instructor.example.com (192.168.0.254) has shared /home/guests/ldapuserX home directory to your system by over NFS export, X is your hostname number.
- LdapuserX's home directory is exist in the instructor.example.com: /home/ guests/ldapuserX
- LdapuserX's home directory must be able to automatically mount to /home/ guests/ldapuserX in your system.
- Home directory have write permissions for the corresponding user.
However, you can log on to the ldapuser1 - ldapuser99 users after verification. But you can only get your corresponding ldapuser users. If your system's hostname is server1.example.com, you can only get ldapuser1's home directory.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
mkdir ג€"p /home/guests
cat /etc/auto.master:
/home/guests /etc/auto.ldap
cat /etc/auto.ldap:
ldapuser1 -rw instructor.example.com:/home/guests/ldapuser1
automatically mount all the user's home directory #* -rw instructor.example.com:/home/guests/&

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
PENNSHARK
6 months, 1 week ago
yum install autofs vi /etc/auto.master /home/guests /etc/auto.ldapusers vi /etc/auto.ldapusers * -rw,intr,soft,instructor.example.com:/home/guests/ldapuser1 * -rw,intr,soft,instructor.example.com:/home/guests/ldapuser2 # Continue for ldapuser3 to ldapuser99 chmod 600 /etc/auto.ldapusers systemctl start autofs systemctl enable autofs cd /home/guests/ldapuser1 touch testfile
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago