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"
SIMULATIONConfigure a default software repository for your system.One YUM has already provided to configure your system on http://server.domain11.example.com/pub/ x86_64/ Server, and can be used normally.
Yum-config-manager --add-repo=http://content.example.com/rhel7.0/x86-64/dvd” is to generate a file vim content.example.com_rhel7.0_x86_64_dvd.repo, Add a line gpgcheck=0YumcleanallYumrepolistAlmost 4305 packages are right, Wrong Yum Configuration will lead to some following questions cannot be worked out.
Post your Comments and Discuss RedHat EX200 exam prep with other Community members:
Our website is free, but we have to fight against AI 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.