RHCSA Questions

CREATE LVM

Create the "LVM" with the name "source" by using 26PE's from the volume group "open". Consider the PE size as "8MB". Mount it on /mnt/secret with filesystem vfat.
USER'S GROUPS AND PERMISSION:

Create a group named "sysadmin" A user sarah and natasha should belongs to "manager" group as a secondary group . A user harry should not have access to interactive shell and he should not be a member of "manager" group. passwd for all user created should be "password".
DIRECTORY COLLABORATION:

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 off "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.
UPDATE THE KERNEL:

Install the appropriate Kernel from ftp://instructor.example.com/ftp/updates. Your machine should boot with updated kernel.
CRON JOB:

The user sarah must configure a cron job that runs today at 14:23 today. and executes "/bin/echo "hyer" and deny the user max for creating cronjob .

RESIZE LVM:

Resize the lvm "/dev/vgsrv/home" (/dev/myvol/vo) so that after reboot size should be in between 90MB to 120MB..
BIND THE "LDAP" FOR USER AUTHENTICATION:

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 no.
"NTP" CLIENT:

Configure your system as "NTP" client for "instructor.example.com".
AUTOMOUNT THE HOME DIRECTORY FOR LDAPUSER

Note the following. instructor.example.com(192.168.0.254) "Nfs exports" /home/guests to your system where "x" is your station ip. Ldapuser's home directory is instructor.example.com:/home/guests/ldapuserx. Ldapuser's home directory should be automounted locally beneath at /home/guests/ldapuserx. While login with any of the ldapuser then only home directory should accesible from your system that ldapuserx.
ACCESS CONTROL LIST:

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 other's. The user "sarah" should able to read and write to the file. The user "natasha" can neither read nor write to the file. other users (future and current) shuold be able to read /var/tmp/fstab. Create a directory /data ,set default group as ftp so that when content will be created under this dir group ftp will be inherited.
CONFIGURE FTP SERVER:

Configure FTP access from your system. Clients within the remote.test should not have anonomyous FTP access to your system.
CONFIGURE "web server":

Configure your system as "web server" for the site http://serverX.example.com . Download the web page from ftp://instructor.example.com/updates/station.html Rename the 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.
ADD USERS:

Create the user "dax" with uid 4223.
EXTEND SWAP SPACE:

Extend the SWAP space with "250" MB dont remove the existing swap.
LOCATE THE FILES:

locate the files of owner "dax" and copy to the directory /root/found directory
SEARCH FOR WORD:

List all lines which have string "full" from "/usr/share/dict/words" file and copy the lines in /root/word.found.
Create logical volume “lv” belongs to volume group “vg” with extend 100
All logical volume in volume group “vg” must have extend size 8M
Format logical volume “lv” as vfat type and mount it /mnt/blah upon reboot

See redhat

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *