SIMULATION – According the following requirements to create a local directory /common/admin. This directory has admin group. This directory has read, write and execute permissions for all admin group members. Other groups and users don't have any permissions. All the documents or directories created in the/common/admin are automatically inherit the admin group.

QuestionsCategory: RHCSA-EX200SIMULATION – According the following requirements to create a local directory /common/admin. This directory has admin group. This directory has read, write and execute permissions for all admin group members. Other groups and users don't have any permissions. All the documents or directories created in the/common/admin are automatically inherit the admin group.
Admin Staff asked 6 months ago
SIMULATION -
According the following requirements to create a local directory /common/admin.
This directory has admin group.
This directory has read, write and execute permissions for all admin group members.
Other groups and users don't have any permissions.
All the documents or directories created in the/common/admin are automatically inherit the admin group.
















 

Suggested Answer: See explanation below.



mkdir -p /common/admin
chgrp admin /common/admin
chmod 2770 /common/admin


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.