RHCSA(EX200)
Read all the instructions carefully
RHCSA exam is 2.5 hours long. 300 Marks-------------Min Marks is 210.
Fill up the form. After filling form you will be provided with username and password for
the base machine. Here provide password is for local user, not admin.
Login to the base machine.
After login to the base machine you are suppose to see a file on the Desktop in
which information regarding the exam is given.
There is also an icon on the Desktop by clicking which you will be able to
access your Virtual Machine.
You will solve all the questions in virtual machine.
As there is no Browser installed on Virtual Machine, you are supposed to open
your exam paper in Base Machine.
The packages can be installed using FTP from [Link]
RHCSA PAPER
1). First step is to crack password of Virtual Machine
2). setup a ipaddr for virtual macine as ip addr 192.168.0.y subnet mask
[Link] Default gateway [Link] nameserver
[Link] and hostname as [Link] ( where "x" is the
fourth byte of base machine ip & y=x+100 ).
3). Create a new Partition
Your system has a new physical partition mounted
under /common with a 400MiB ext4 file system.
[Note: Because partition sizes are seldom exactly whatever specified
when they are created, anything within the range of 350 to 450MB is
acceptable.]
4). Create the following users, groups, and group memberships:
Create the following users, groups, and group memberships:
A group named sysadmin.
A user natasha who belongs to sysadmin as a secondary
group.
A user sarah who also belongs to sysadmin as a secondary
group.
A user harry who does not have access to an interactive shell
on the system, and who is not a member of sysadmin.
natasha, sarah and harry should all have the password of
thuctive.
5).Create a collaborative directory
Create a collaborative directory /common/admin with the following
characteristics:
Group ownership of /common/admin is sysadmin.
The directory should be readable, writable, and accessible to
members of sysadmin, but not to any other user.
(It is understood that root has access to all files and directories
on the system.)
Files created in /common/admin automatically have group
ownership set to the sysadmin group.
*6).Install the appropriate kernel
Install the appropriate kernel update
from:[Link] The following criteria
must also be met:
The updated kernel is the default kernel when the system is
rebooted.
The original kernel remains available and bootable on the
system.
7). Implement a web server
Implement a web server for the site [Link] then
perform the following steps:-
Download [Link]
Rename the downloaded file to [Link]
Copy this [Link] to the Document Root of your web
server
Do NOT make any modifications to the content of [Link]
8). Resize the Lvm partition
Resize the Lvm partition "home" to 150MiB.
9). Configure a cron job
The user natasha must configure a cron job that runs daily at 14:23
local time and executes /bin/echo hiya
10). SELinux must be running in the Enforcing mode.
SELinux must be running in the Enforcing mode.
11). Copy the file /etc/fstab to /var/tmp
Copy the file /etc/fstab to /var/tmp. Configure the permissions
of/var/tmp/fstab so that:
The file /var/tmp/fstab is owned by the root user.
The file /var/tmp/fstab belong to the group root.
The file /var/tmp/fstab should not be executable by anyone.
The user natasha is able to read and write /var/tmp/fstab.
The user sarah can neither write nor read /var/tmp/fstab.
[Note: all other users (current or future) have the ability to
read/var/tmp/fstab.]
*12). Configure NTP
Configure your system so that it is an NTP client of
[Link].
13). Find the files
Find files in your system which is owned by natasha user & copy all the
files on /backup/somefile directory
*14). Create a swap partition
Create a SWAP partition of 450 megabyte and make available at next
reboot.
*15). Authenticate users from LDAP Directory Servers
Authenticate users from LDAP Directory Servers which have:
ServerName: [Link]. Base DN:
dc=example,dc=com.
Download certificate from
[Link]
Authenticate with users ldapuserx with have password of
password.
Now ldap client configuration
Yum install openldap* -y
System-config-authentication
First choose Identity & Authentication tab
In user account configuration choose ldap user
Now write Base DN: dc=example,dc=com
& ldap server name: [Link]
Now click on use TLS to encrypt
Now click on Download CA certificate
Now enter url as [Link]
Now in authentication method choose ldap password
Chkconfig sssd on
Su ldapuser7
Here is showing error. For removing error we make directory & mount server directory on this
Mkdir p /home/guest/ldapuser7
Mount [Link]:/home/guests/ldapuser7 /home/guests/ldapuser7
Su ldapuser7
Logout
16).Configure autofs such that server's home directory
localhost:/home/guests/ldapuserx mounted on
/home/guests/ldapuserx.
Now we can also use other way to do this task
Add entry in file
Vim /etc/[Link]
/home/guests /etc/[Link]
Add other entry in file as
Vim /etc/[Link]
* -rw,soft,intr ldapuser:/home/guests/&
Due to bug first make service stop & then start
Systemctl restart autofs
systemctl enable autofs
Su ldapuser7
17). Create a user with uid
Create the following user name neo with uid 1337 and set the password
password:
18). Create the lvm partition with P.E.
Create the volume group with name myvol with 8 MiB P.E. and create the lvm
name mydatabase with the 20 P.E. and format this lvm with vfat and create a
directory /database and mount this lvm permanently on /database.
19). Find the string
Find the string root from /etc/passwd file and save the result in
/searchfile.