Join the discussion
Question 1/122
Copy /etc/fstab document to /var/TMP directory. According the following requirements to configure the permission of this document.
* The owner of this document must be root.
* This document belongs to root group.
* User mary have read and write permissions for this document.
* User alice have read and execute permissions for this document.
* Create user named bob, set uid is 1000. Bob have read and write permissions for this document.
* All users has read permission for this document in the system.
* The owner of this document must be root.
* This document belongs to root group.
* User mary have read and write permissions for this document.
* User alice have read and execute permissions for this document.
* Create user named bob, set uid is 1000. Bob have read and write permissions for this document.
* All users has read permission for this document in the system.
Correct Answer:
see explanation below.
Explanation
cp /etc/fstab /var/tmp
chown root:root /var/tmp/fstab
chmod a-x /var/tmp/fstab
setfacl -m u:mary:rw /var/tmp/fstab
setfacl -m u:alice:rx /var/tmp/fstab
useradd -u 1000 bob
Explanation
cp /etc/fstab /var/tmp
chown root:root /var/tmp/fstab
chmod a-x /var/tmp/fstab
setfacl -m u:mary:rw /var/tmp/fstab
setfacl -m u:alice:rx /var/tmp/fstab
useradd -u 1000 bob
Add Comments
- Other Question (122q)
- Q1. Copy /etc/fstab document to /var/TMP directory. According the following requirements to co...
- Q2. CORRECT TEXT Upgrading the kernel as 2.6.36.7.1, and configure the system to Start the def...
- Q3. SELinux must run in force mode.
- Q4. Who ever creates the files/directories on archive group owner should be automatically shou...
- Q5. Configure a HTTP server, which can be accessed through http://station.domain40.example.com...
- Q6. Which of the following statements describes the principal concept behind test driven devel...
- Q7. Part 2 (on Node2 Server) Task 8 [Tuning System Performance] Set your server to use the rec...
- Q8. Please open the ip_forward, and take effect permanently....
- Q9. Which of the following elements are presents in a Vagrant box file? (Choose two correct an...
- Q10. Configure a HTTP server, which can be accessed through http://station.domain40.example.com...
- Q11. There are two different networks 192.168.0.0/24 and 192.168.1.0/24. Where 192.168.0.254 an...
- Q12. SIMULATION The firewall must be open.
- Q13. Part 1 (on Node1 Server) Task 3 [Managing Local Users and Groups] Create the following use...
- Q14. SIMULATION Resize the logical volume vo and its filesystem to 290 MB. Make sure that the f...
- Q15. Part 1 (on Node1 Server) Task 2 [Installing and Updating Software Packages] Configure your...
- Q16. One Logical Volume named lv1 is created under vg0. The Initial Size of that Logical Volume...
- Q17. CORRECT TEXT Install a FTP server, and request to anonymous download from /var/ftp/pub cat...
- Q18. SELinux must run in force mode.
- Q19. SIMULATION Configure your web services, download from http://instructor.example.com/pub/se...
- Q20. CORRECT TEXT Configure a HTTP server, which can be accessed through http://station.domain4...
- Q21. SIMULATION According the following requirements to create user, user group and the group m...
- Q22. Part 1 (on Node1 Server) Task 15 [Running Containers] Create a container named logserver w...
- Q23. Which of the log messages below matches the following Logstash grok filter? grok { match =...
- Q24. Create one partitions having size 100MB and mount it on data....
- Q25. Create a new logical volume according to the following requirements: The logical volume is...
- Q26. Create a collaborative directory/home/admins with the following characteristics: Group own...
- Q27. The system ldap.example.com provides an LDAP authentication service. Your system should bi...
- Q28. An Ansible variable file contains the following content: myapp: option1: one Which of the ...
- Q29. Configure a task: plan to run echo "file" command at 14:23 every day....
- Q30. Configure autofs to make sure after login successfully, it has the home directory autofs, ...
- Q31. The system ldap.example.com provides an LDAP authentication service. Your system should bi...
- Q32. SIMULATION SELinux must run in force mode.
- Q33. CORRECT TEXT Add admin group and set gid=600
- Q34. Configure your Host Name, IP Address, Gateway and DNS. Host name: dtop5.dn.ws.com IP Addre...
- Q35. Create a catalog under /home named admins. Its respective group is requested to be the adm...
- Q36. One Domain RHCE is configured in your lab, your domain server is server1.example.com. nisu...
- Q37. Create a Shared Directory. Create a shared directory /home/admins, make it has the followi...
- Q38. Install the Kernel Upgrade. Install suitable kernel update from: http://server.domain11.ex...
- Q39. Create a 2G swap partition which take effect automatically at boot-start, and it should no...
- Q40. Create a volume group, and set the size is 500M, the size of single PE is 16M. Create logi...
- Q41. Part 2 (on Node2 Server) Task 2 [Installing and Updating Software Packages] Configure your...
- Q42. Resize the logical volume vo and its filesystem to 290 MB. Make sure that the filesystem c...
- Q43. Create a volume group,and set 8M as a extends. Divided a volume group containing 50 extend...
- Q44. Add admin group and set gid=600
- Q45. Part 1 (on Node1 Server) Task 13 [Archiving and Transferring Files & SELinux] Create a...
- Q46. According the following requirements to create user, user group and the group members: - A...
- Q47. If a Dockerfilereferences the container's base image without a specific version tag, which...
- Q48. Configure the FTP service in your system, allow remote access to anonymous login and downl...
- Q49. SIMULATION Configure the FTP service in your system, allow remote access to anonymous logi...
- Q50. Part 1 (on Node1 Server) Task 7 [Accessing Linux File Systems] Find all the files owned by...
- Q51. Make a swap partition having 100MB. Make Automatically Usable at System Boot Time....
- Q52. SIMULATION Upgrade the kernel, start the new kernel by default. kernel download from this ...
- Q53. Create a backup Create a backup file named /root/backup.tar.bz2, contains the content of /...
- Q54. Find the files owned by harry, and copy it to catalog: /opt/dir...
- Q55. 1. Find all sizes of 10k file or directory under the /etc directory, and copy to /tmp/find...
- Q56. According the following requirements to create user, user group and the group members: - A...
- Q57. Create a 2G swap partition which take effect automatically at boot-start, and it should no...
- Q58. Install a FTP server, and request to anonymous download from /var/ftp/pub catalog. (it nee...
- Q59. Who ever creates the files/directories on a data group owner should automatically be in th...
- Q60. SIMULATION Create a 2G swap partition which take effect automatically at boot-start, and i...
- Q61. SIMULATION According the following requirements to create a local directory /common/admin....
- Q62. There is a local logical volumes in your system, named with common and belong to VGSRV vol...
- Q63. A YUM repository has been provided at http://server.domain11.example.com/pub/x86_64/Server...
- Q64. Configure a HTTP server, which can be accessed through http://station.domain40.example.com...
- Q65. Part 2 (on Node2 Server) Task 7 [Implementing Advanced Storage Features] Create a thin-pro...
- Q66. You have a domain named www.rhce.com associated IP address is 192.100.0.2. Configure the A...
- Q67. SIMULATION Copy /etc/fstab document to /var/TMP directory. According the following require...
- Q68. Configure the permissions of /var/tmp/fstab Copy the file /etc/fstab to /var/tmp/fstab. Co...
- Q69. SIMULATION Update the kernel from ftp://instructor.example.com/pub/updates. According the ...
- Q70. Which section of the Prometheus configuration defines which nodes are monitored?...
- Q71. Install the appropriate kernel update from http://server.domain11.example.com/pub/updates....
- Q72. Create a user alex with a userid of 3400. The password for this user should be redhat....
- Q73. Which of the following mechanisms are used for service discovery in a container environmen...
- Q74. Create a catalog under /home named admins. Its respective group is requested to be the adm...
- Q75. CORRECT TEXT Create a 512M partition, make it as ext4 file system, mounted automatically u...
- Q76. Search files. Find out files owned by jack, and copy them to directory /root/findresults...
- Q77. SIMULATION 1. Find all sizes of 10k file or directory under the /etc directory, and copy t...
- Q78. Create the following users, groups, and group memberships: A group named adminuser. A user...
- Q79. SELinux must be running in the Enforcing mode....
- Q80. Find the files owned by harry, and copy it to catalog: /opt/dir...
- Q81. : 107 SIMULATION Add an additional swap partition of 754 MB to your system. The swap parti...
- Q82. The user authentication has been provided by ldap domain in 192.168.0.254. According the f...
- Q83. Create a volume group, and set 16M as a extends. And divided a volume group containing 50 ...
- Q84. You have a domain named www.rhce.com associated IP address is 192.100.0.2. Configure the A...
- Q85. Configure a default software repository for your system. One YUM has already provided to c...
- Q86. SIMULATION There are two different networks, 192.168.0.0/24 and 192.168.1.0/24. Your Syste...
- Q87. SIMULATION Create a swap space, set the size is 600 MB, and make it be mounted automatical...
- Q88. Download ftp://192.168.0.254/pub/boot.iso to /root, and mounted automatically under /media...
- Q89. There are two different networks, 192.168.0.0/24 and 192.168.1.0/24. Your System is in 192...
- Q90. Create a 2G swap partition which take effect automatically at boot-start, and it should no...
- Q91. CORRECT TEXT Add user: user1, set uid=601 Password: redhat The user's login shell should b...
- Q92. CORRECT TEXT Find the files owned by harry, and copy it to catalog: /opt/dir...
- Q93. The firewall must be open.
- Q94. Upgrade the kernel, start the new kernel by default. kernel download from this address: ft...
- Q95. Successfully resolve to server1.example.com where your DNS server is 172.24.254.254....
- Q96. Update the kernel from ftp://instructor.example.com/pub/updates. According the following r...
- Q97. In the system, mounted the iso image /root/examine.iso to/mnt/iso directory. And enable au...
- Q98. Part 1 (on Node1 Server) Task 10 [Configuring NTP/Time Synchronization] Configure your sys...
- Q99. CORRECT TEXT Copy /etc/fstab to /var/tmp name admin, the user1 could read, write and modif...
- Q100. Configure the verification mode of your host account and the password as LDAP. And it can ...
- Q101. Which of the following commands lists the cookbooks available on a Chef server?...
- Q102. Adjust the size of the Logical Volume. Adjust the size of the vo Logical Volume, its file ...
- Q103. SIMULATION Notes: NFS: NFS instructor.example.com:/var/ftp/pub/rhel6/dvd YUM: http://ins...
- Q104. SIMULATION Configure autofs. Configure the autofs automatically mount to the home director...
- Q105. Part 2 (on Node2 Server) Task 1 [Controlling the Boot Process] Interrupt the boot process ...
- Q106. Part 2 (on Node2 Server) Task 5 [Managing Logical Volumes] Add an additional swap partitio...
- Q107. Configure the system synchronous as 172.24.40.10....
- Q108. Your System is going use as a router for 172.24.0.0/16 and 172.25.0.0/16. Enable the IP Fo...
- Q109. Add user: user1, set uid=601 Password: redhat The user's login shell should be non-interac...
- Q110. Make on /archive directory that only the user owner and group owner member can fully acces...
- Q111. Create a backup file named /root/backup.tar.bz2, which contains the contents of /usr/local...
- Q112. Configure a default software repository for your system. One YUM has already provided to c...
- Q113. Create a new logical volume according to the following requirements: The logical volume is...
- Q114. SIMULATION Download the document from ftp://instructor.example.com/pub/testfile, find all ...
- Q115. Configure the verification mode of your host account and the password as LDAP. And it can ...
- Q116. Configure your web services, download from http://instructor.example.com/pub/serverX.html ...
- Q117. You are a System administrator. Using Log files very easy to monitor the system. Now there...
- Q118. Which configuration option in the Ansible inventory is issued control privilege escalation...
- Q119. SIMULATION There is a local logical volumes in your system, named with shrink and belong t...
- Q120. One Logical Volume named lv1 is created under vg0. The Initial Size of that Logical Volume...
- Q121. Configure a cron Task. User natasha must configure a cron job, local time 14:23 runs and e...
- Q122. Find the files owned by harry, and copy it to catalog: /opt/dir...
