SIMULATIONAdd user: user1, set uid=601 Password: redhatThe user's login shell should be non-interactive.
Answer(s): A
# useradd -u 601 -s /sbin/nologin user1# passwd user1redhat
SIMULATIONAdd users: user2, user3.The Additional group of the two users: user2, user3 is the admin group Password: redhat
# useradd -G admin user2# useradd -G admin user3# passwd user2redhat# passwd user3redhat
SIMULATIONCopy /etc/fstab to /var/tmp name admin, the user1 could read, write and modify it, while user2 without any permission.
# cp /etc/fstab /var/tmp/# chgrp admin /var/tmp/fstab# setfacl -m u:user1:rwx /var/tmp/fstab# setfacl -m u:user2:--- /var/tmp/fstab# ls -l-rw-rw-r--+ 1 root admin 685 Nov 10 15:29 /var/tmp/fstab
SIMULATIONConfigure a task: plan to run echo "file" command at 14:23 every day.
(a) Created as administrator# crontab -u natasha -e23 14 * * * /bin/echo "file"(b)Created as natasha# su - natasha$ crontab -e23 14 * * * /bin/echo "file"
Post your Comments and Discuss RedHat EX200 exam with other Community members:
chukwuemeka ubajaka commented on May 17, 2022 Can't i get redhat 8 version of the questions instead of the redhat 6 version, as the syntax of redhat 8 and 6 is not the same. UNITED STATES upvote
Sandeep commented on March 19, 2021 Zabar Dast! So accurate and so real. Passed my exam lasat week. INDIA upvote
Dan commented on December 16, 2019 How do i print the pdf download, its password protected. I want to print the file and study before the exam in couple days Anonymous upvote
Carlo Shamany commented on July 17, 2019 good havent taken the test but feel confident. UNITED STATES upvote
Our website is free, but we have to fight against bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the EX200 content, but please register or login to continue.