RHCSA Exam PDF
RHCSA Exam PDF
RHCSA Exam PDF
Note:
1. All the software package is stored at ftp://ipa.mydomain.com/pub/centos7
2. SELINUX should be in enforcing mode.
4. Create LVM data2 using 60 PE. Format it with EXT4 FS and mount it
permanently with uuid under /data2
5. Create three users: user1 with uid/gid 2000, password digitribe and user2 with
uid/gid 3000, password digitribe and user3 with nologin shell.
user1 and user2 should be member of group rhce.
Make user1 account validity stopping one month.
user2 minimum password age 2 days, maximum password age 60 days and set
warning to 5 days. Allow user1 to get full access to user2 home directory.
6. Create a directory named /digitribe. Allow user1 and user2 to share documents in
the /digitribe directory using a group called rhce. Both of them can read, write and
remove documents from /digitribe directory, but any user not member of the
group rhce unable to read, write and remove from /digitribe directory.
7. Create a logical volume of 300MB called lv_swap2 and add it permanently to the
current swap space.
9. Create a cron job running as user2, starting at 10PM every day and echo Hello.
Deny user1 from creating cron job.
10. Create a new user “user5”. Give user5, not in the rhce team, but this user can read
and write access to /digitribe.
11. Create a new LVM data3. The VG should have extents of size 8MB. The LV
should have 50 extents. Format it with XFS filesystem and mount it permanently
under /data3.
12. Search for text 'digitribe' in the file /usr/share/dict/words and copy to a file
/root/mysearch. The new file should not have blanks spaces and order should be
same as in the original file.
13. Locate all file owned by user1 and copy them to /root/user1files. Locate all file
that have sticky bit on to them and copy them to /root/sticky
15. Configure autofs to make sure after login of user ldapuser1 from LDAP server it
has the home directory shared as /home/ldapuser1 from the ipa.mydomain.com
shared as NFS and it also requires that, other ldap users can use the home
directory normally .
22. Upgrading the kernel, and configure the system to Start the default kernel, keep
theold kernel available.