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 Wrote 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
Sandeep Wrote on March 19, 2021 Zabar Dast! So accurate and so real. Passed my exam lasat week. INDIA
Dan Wrote 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
Carlo Shamany Wrote on July 17, 2019 good havent taken the test but feel confident. UNITED STATES
To protect our content from bots for real learners like you, we ask you to register for free. Sign in or sign up now to continue with the EX200 material!