Red Hat RHCSA – Questions & Expert Verified Solutions
Home directories for LDAP users should be automatically mounted on access.
Served from NFS share classroom.example.com:/home/guest Right Ans -
yum install autofs
/etc/auto.master.d/guests.autofs
/home/guests /etc/auto.guests
make fire /etc/auto.gusts
* -rw,sync classroom.example.com:/home/guests/&
start/enable autofs
CIFS share westeos. Mountd at boot on /mnt/westeros. username = tyler
password = lemoine. Right Ans - yum install cifs-utils
mkdir -p /mtn/westeros
/root/tyler.creds
username=tyler
password=lemoine
chmod 0600 /root/tyler.creds
/etc/fstab
//server.example.com/westeros /mnt/westeros cifs creds=/root/tyler.creds
00
mount -a
Server exports NFSv4 called /essos. Needs to be mounted read/write on
/mnt/essos using Kerberos auth,encrypt,integ. Keytab at
http://classroom.example.com/pub/keytabs/desktopx.keytab Right Ans -
mkdir -p /mnt/essos
wget -O /etc/krb5.keytab
http://classroom.example.com/pub/keytabs/desktopx.keytab
/etc/fstab
server.example.com:/essos /mtn/essos NFS sec=krb5p,rw 0 0
start/enable nfs-secure
mount -a
Create new directory /docroot. SELinux context to public_content_t and
survives relabel Right Ans - mkdir /docroot
semanage fcontext -a -t public_content_t '/docroot(/.*)?'
restorecon -RvF /docroot
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller LeCrae. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $8.99. You're not tied to anything after your purchase.