EX200 Question Set for RHEL7
1. You must run the SELinux under the Enforcing mode.
2. Configure the YUM source. Use the http://server.domain11.example.com/pub/x86_64/Serve as the default source.
3. Adjust the size of the logical volume vo. Its file system size should be 290M. You should maintain the integrity of the file system content.
Note: It is difficult to make it exactly the same as requested. It is acceptable to make it between 260M and 320M.
4. Create the following user, group and the membership of the crew:
Group named adminuser.
User natasha, set the adminuser as the affiliated group.
User harry, set the adminuser as the affiliated group.
User sarah, cannot access to the interactive shell in the system and is not a member of group adminuser.
The password of natasha, harry, sarah are all redhat.
5. Copy file /etc/fstab to /var/tmp/fstab. Set the following permissions to /var/tmp/fstab:
The file owner of /var/tmp/fstab is root.
The file /var/tmp/fstab belongs to the group root.
The file /var/tmp/fstab cannot be run by any users.
The file /var/tmp/fstab is readable and writable to user natasha.
The file /var/tmp/fstab is unreadable and cannot be written to the user harry.
The file /var/tmp/fstab is readable to all other users.
6. You should configure cron job to the user natasha: executive command /bin/echo hiya at 14:23 local time everyday.
7. Create directory /home/admins with the following properties:
/home/admins belongs to group adminuser
This directory is unreadable, cannot be written or executed by any users other than the group members. (root has the access to all files and directories in the system.)
Set the group automatically as adminuser when create files under the /home/admins directory.
8. Install the applicable kernel update from http://server.domain11.example.com/pub/updates.
You must meet the following requirements:
Set the updated kernel as the default kernel when starting system
The original kernel is still valid and bootable when starting system
9. System host.domain11/example.com provides LDAP authentication. You should bind this to your system according to the following requirements:
The LDAP authentication base DN is dc=domain11, dc=example, dc=com
LDAP should use the encrypted certificates located at http://host.domain11.example.com/pub/domain11.crt when used to provide account information and information connection authentication.
When configured correctly, 1dapuser11 can log in your syste. There is no home directory until you complete autofs requirement with 1dapuser11 password ’password’.
10. Configure your system as a NTP client of the server.domain11.example.com
11. Configure autofs automatically mount LDAP user’s home directory according to the following requests:
host.domain11.example.com (172.24.11.250) shares file /netdir with your system using NFS. This file system contains the pre-set home directory of user 1dapuser11.
The 1dapuser11 home directory is host.domain11.example.com:/rehome/1dapuser11
The 1dapuser11 home directory should automatically mount to /rehome/ldapuser11
under local /rehome
The home directory is writable to the users.
The password of 1dapuser11 is ‘password’
12. Create a user alex, set teh uid as 3400. The password is redhat.
13. Add a 512MB swap to your system which should automatically mount when system startup. Do not remove or change the existed swap.
14. Find all files which belongs to irs and copy them to the directory /root/findresults/.
15. Find all columns contains seismic in /usr/share/dict/words. Copy all the columns to the file /root/lines with the original order. There should be no blank columns in file /root/lines. All columns must be exact copy of the original samples.
16. Create backup file named /root/backup.tar.bz2. It should include /usr/local. The tar must be compress as bzip2 file.
17. Create a new logical volumes as the following requested:
Name the logical volume as database which belongs to the volume group datastore. Extend it to 50.
Extend the logical volume in volume group datastore to 16 MB
Format the new logical volume using ext3. This logical volume should automatically mount on /mnt/database at system startup.