SIMULATION – Copy /etc/fstab document to /var/TMP directory. According the following requirements to configure the permission of this document. ✑ The owner of this document must be root. ✑ This document belongs to root group. ✑ User mary have read and write permissions for this document. ✑ User alice have read and execute permissions for this document. ✑ Create user named bob, set uid is 1000. Bob have read and…

QuestionsCategory: RHCSA-EX200SIMULATION – Copy /etc/fstab document to /var/TMP directory. According the following requirements to configure the permission of this document. ✑ The owner of this document must be root. ✑ This document belongs to root group. ✑ User mary have read and write permissions for this document. ✑ User alice have read and execute permissions for this document. ✑ Create user named bob, set uid is 1000. Bob have read and…
Admin Staff asked 6 months ago
SIMULATION -
Copy /etc/fstab document to /var/TMP directory. According the following requirements to configure the permission of this document.
✑ The owner of this document must be root.
✑ This document belongs to root group.
✑ User mary have read and write permissions for this document.
✑ User alice have read and execute permissions for this document.
✑ Create user named bob, set uid is 1000. Bob have read and write permissions for this document.
✑ All users has read permission for this document in the system.
















 

Suggested Answer: See explanation below.



cp /etc/fstab /var/tmp
chown root:root /var/tmp/fstab
chmod a-x /var/tmp/fstab
setfacl ג€"m u:mary:rw /var/tmp/fstab
setfacl ג€"m u:alice:rx /var/tmp/fstab
useradd ג€"u 1000 bob


This question is in EX200 Red Hat Certified System Administrator (RHCSA) Exam
For getting Red Hat Certified System Administrator (RHCSA) Certificate



Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Redhat.
Trademarks, certification & product names are used for reference only and belong to Redhat.
The website does not contain actual questions and answers from Redhat's Certification Exam.

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.