Free EX200 Exam Braindumps (page: 7)

Page 6 of 35

SIMULATION
Add user: user1, set uid=601 Password: redhat
The user's login shell should be non-interactive.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

# useradd -u 601 -s /sbin/nologin user1
# passwd user1
redhat



SIMULATION
Add users: user2, user3.
The Additional group of the two users: user2, user3 is the admin group Password: redhat

  1. See Explanation section for answer.

Answer(s): A

Explanation:

# useradd -G admin user2
# useradd -G admin user3
# passwd user2
redhat
# passwd user3
redhat



SIMULATION
Copy /etc/fstab to /var/tmp name admin, the user1 could read, write and modify it, while user2 without any permission.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

# 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



SIMULATION
Configure a task: plan to run echo "file" command at 14:23 every day.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

(a) Created as administrator
# crontab -u natasha -e
23 14 * * * /bin/echo "file"
(b)Created as natasha
# su - natasha
$ crontab -e
23 14 * * * /bin/echo "file"






Post your Comments and Discuss RedHat EX200 exam with other Community members: