rhcsa review sample

1
RHCSA REVIEW 1. Please make sure that your selinux is in enforcing mode. 2. Configure your SSH that root can’t login to it directly. 3. Create the "LVM" with the name "source" by using 26 PE from the volume group "open". Consider the PE size as "8MB". Mount it on /mnt/secret. 4. Create a group named "sysadmin" A user charisse and mae should belongs to "manager" group as a secondary group. A user carlito should not have access to interactive shell and he should not be a member of "manager" group. Password for all user created should be "password". 5. Create the Directory "/home/manager" with the following characteristics: Group ownership of "/home/manager" should go to "manager" group. The directory should be have full permission for all members of "manager" group but not to any other users accept "root". Files created under "/home/manager" should get the same group ownership is set to the "manager" group. 6. Resize the LVM "/dev/open/source" so that after reboot size should be in between 90MB to 120MB. 7. Note the following. BASE DN: dc=example,dc=com ldap path ldap://instructor.example.com/ Download the certificate from "ftp://instructor.example.com/pub/EXAMPLE-CA-CERT"Ldap user should login into your system . Where "X" is your system number. 8. Configure your system as "NTP" client for "instructor.example.com". 9. Copy the file /etc/fstab to /var/tmp and configure the "ACL" as mention following. The file /var/tmp/fstab is owned by the "root". The file /var/tmp/fstab belongs to the group "root" The file /var/tmp/fstab should not be executable by others. The user "charisse" should able to read and write to the file. The user "mae" can neither read nor write to the file. Other users (future and current) should be able to read /var/tmp/fstab. 10. Configure your system as "web server" for the site http://serverX.example.com . Download the web page from ftp://instructor.example.com/updates/updates/station.html Rename the downloaded page as "index.html" Copy the "index.html" page to the "document root". Do not make any modifications to the content of index.html. 11. Create the user "irish" with uid 4223. 12. Extend the SWAP space with "250" MB don’t remove the existing swap. 13. Configure SSH to your server and make sure that “root” can’t login via SSH. 14. Export your "/common" directory via NFS to the example.com domain. You can check nfsclient using /net/(ipaddress).

Upload: irish-carlo-juliales-cadague

Post on 23-Nov-2015

34 views

Category:

Documents


5 download

TRANSCRIPT

  • RHCSA REVIEW

    1. Please make sure that your selinux is in enforcing mode.

    2. Configure your SSH that root cant login to it directly.

    3. Create the "LVM" with the name "source" by using 26 PE from the volume group "open". Consider

    the PE size as "8MB". Mount it on /mnt/secret.

    4. Create a group named "sysadmin" A user charisse and mae should belongs to "manager" group

    as a secondary group. A user carlito should not have access to interactive shell and he should not

    be a member of "manager" group. Password for all user created should be "password".

    5. Create the Directory "/home/manager" with the following characteristics: Group ownership of

    "/home/manager" should go to "manager" group. The directory should be have full permission

    for all members of "manager" group but not to any other users accept "root". Files created under

    "/home/manager" should get the same group ownership is set to the "manager" group.

    6. Resize the LVM "/dev/open/source" so that after reboot size should be in between 90MB to

    120MB.

    7. Note the following. BASE DN: dc=example,dc=com ldap path ldap://instructor.example.com/

    Download the certificate from "ftp://instructor.example.com/pub/EXAMPLE-CA-CERT"Ldap user

    should login into your system . Where "X" is your system number.

    8. Configure your system as "NTP" client for "instructor.example.com".

    9. Copy the file /etc/fstab to /var/tmp and configure the "ACL" as mention following. The file

    /var/tmp/fstab is owned by the "root". The file /var/tmp/fstab belongs to the group "root" The

    file /var/tmp/fstab should not be executable by others. The user "charisse" should able to read

    and write to the file. The user "mae" can neither read nor write to the file. Other users (future

    and current) should be able to read /var/tmp/fstab.

    10. Configure your system as "web server" for the site http://serverX.example.com . Download the

    web page from ftp://instructor.example.com/updates/updates/station.html Rename the

    downloaded page as "index.html" Copy the "index.html" page to the "document root". Do not

    make any modifications to the content of index.html.

    11. Create the user "irish" with uid 4223.

    12. Extend the SWAP space with "250" MB dont remove the existing swap.

    13. Configure SSH to your server and make sure that root cant login via SSH.

    14. Export your "/common" directory via NFS to the example.com domain. You can check nfsclient

    using /net/(ipaddress).