0% found this document useful (0 votes)
103 views3 pages

Redhat Exam

The document outlines a Redhat exam consisting of various tasks to be completed within 3 hours without root access. Key tasks include resetting the root password, creating user accounts with specific permissions, configuring network settings, setting up a web server, and managing disk partitions and logical volumes. Additionally, it requires the configuration of cron jobs and the modification of user password expiration settings.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
103 views3 pages

Redhat Exam

The document outlines a Redhat exam consisting of various tasks to be completed within 3 hours without root access. Key tasks include resetting the root password, creating user accounts with specific permissions, configuring network settings, setting up a web server, and managing disk partitions and logical volumes. Additionally, it requires the configuration of cron jobs and the modification of user password expiration settings.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Redhat Exam: (Time: 3 hour)

Note: Assume that you do not have the root password or any access to anyuser account.

1. Reset root user password and make it 'trootent'

2. Create Account with your firstname-familyname add it to the wheel


group and check that wheel group enabled in /etc/sudoers
Example: Ahmed Ali
Note: every task in this exam must be done with this account, otherwise exam
point will not be calculated.

3. Set your machine hostname to firstname-familyname.lab.local

4. Configure network setting with connection name eth0 and the following
IP configuration:
IP Address: 192.168.X.40/24
Gateway: 192.168.X.2
DNS: 192.168.X.2, 8.8.8.8, 8.8.4.4
Where X is your subnetwork.
Note: Make sure that you can access the internet.

5. Configure local Repository with name Practice and Verify that is it


added to the system.

6. Web server running on non-standard port “82” is having issues serving


content. Debug and fix the issues.
-The web server can server all the existing HTML files from
-'/var/www/html', don’t make any changes to these files.
-Web service should automatically start at boot time.
-Configure the firewall and selinux for the web server
7. Create User accounts with supplementary group.
-group:
sysadms
-users:
natasha
harry
sarah
-natasha and harry should be the member of sysadms group.
-password for all users should be "trootent"
-sarah have read only permission to Directory /test which is owned by
sysadms group with rwx permission.

8. Configure a cron job for user "natasha", cron must runs daily at2:23 pm and
inside it executes the /usr/bin/echo "welcome".

9. Create user 'bob' with 2112 uid and set the password 'trootent'

10.Find a string 'bash' from '/etc/passwd' and put it into '/mnt/login' file.

11.Create an archive '/mnt/backup.tar.bz2' of '/usr/local' directory and compress


it with bzip2.

12.Add a new disk with size 5G size, add a swap partition with size 1G to the
system and make it permanent.

13.Create a logical Volume with size 2G mount it Permanent with xfs filesystem.

14.Resize the logical volume to be 3G, and verify the size.

15.Find Files with SUID Set in /usr/bin and save output in /tmp/result.txt

16.. Find directories with SGID Set in /var/log and save output in /tmp/result2.txt
17.Change your system setting so that all newly created users have their
maximum password expiration 50 days. Verify that.

You might also like