Phase 1 – 8 Questions
Q1. Login Problem (Compulsory)
Q2. Configure network settings to specification so that you can ping 192.168.1.254 (Compulsory)
Q3. dig server1.example.com should work properly (Compulsory)
Q4. Successfully login to init 5 as root (Compulsory)
Q5. Resize a 200 MB LVM to a 100 MB LVM without losing data
Q6. User neo should be able to create 30K file but not 70K file (quotas)
Q7. Create 100 MB partition and mount it as /mnt/new. Should work across reboot (Compulsory)
Q8. Showmount –e should show the /export directory as available.
Phase 2 – Boot Troubleshooting
Examiner will insert a CD which will perform a very basic installation in text mode. The examiner will then remove the CD and then ask you to reboot. Once you reboot, you will get a kernel panic error. Once you set this right, your system will not boot because it cannot see the LABEL root. You will need to use resuce mode, find the device that has the /etc/fstab file and then modify it in such a way that fstab contains the line LABEL=/ instead of LABEL=root
If the system boots without any problems into runlevel 3, then 20 marks.
If the system boots into maintenance mode, then 10 marks
If the system does not boot at all, then 0 marks
Afternoon Session – 3 Hours
Q1. Install RHEL3 according to the following requirement:-
/boot - 128 MB
/ - 256 MB
/home - 512 MB
/usr - 2048 MB
/var - 512 MB
swap - 1.5 – 2 times the amount of RAM as
specified in /proc/meminfo
Remaining space should be given to a RAID 0 set and a directory /data should be mounted on it.
Q2. Connect to http://somesite/cgi-bin/form.php and fill in your details
Q3. Install the dialog rpm
Q4. Create a directory called sysadmin. Create a group called sysadmin. Change the
Group ownership of the sysadmin directory to sysadmin group. Create a user called
Jane and the secondary group should be sysadmin. Create a user called John and
Secondary group should be sysadmin. Create a user called eric who should not be a
Member of other groups and he should not get an interactive shell
Q5. Create a file in the sysadmin directory by logging in as jane. Check if john is able to
Access the file
Q6. Enable IP Forwarding on your system
Q7. Implement a web server by copying a .html from the NFS server into your Document
Q8. Configure sendmail in such a way that it is reachable from remote machines on its IP
And also local host
Q9. Configure FTP in such a way that cracker.org (192.168.1.0/255.255.255.0) machines
cannot connect but example.com machines can.
Q10. Configure SSH in such a way that cracker.org machines cannot connect but
Example.com machines can.
Q11. Create a samba share called X on your system. User jane should have access to it
Q12. Bind your system to the NIS domain RHCE. Try to login as user guestX
Q13. Configure automount in such a way that server1.example.com:/rhome/nisuserX is
Automatically mounted on your home directory. The user should be able to login
Q14. Configure a printer queue which will forward print jobs to the shared print queue on
Q15. Configure POP3 on your system such that user jane is able to receive mails. Disable
POP3 for cracker.org machines
Q16. Configure Squid to share internet connection on port 8080 with example.com
Q17. Configure SSL for SSH on your system. Create a certificate using which your
System will SSH to station249.example.com
Q18. Configure your web server to host multiple sites on same IP
Q19. Configure imaps in such a way that john gets authenticated and allowed to use
Imaps. Cracker.org machines should not get authenticated
Q20. Create a mail alias for example.com as something.com
1. login as root. Your root password should be redhat. (COMPULSARY)
2. You should be able to ping server1.cracekr.com
3. You should be able to dig server1.example.com (COMPULSARY)
4. You should get GUI login in the next reboot (Xwindows problem) (COMPULSARY)
5. When you type showmount -e localhost /export is seen as exported. (COMPULSARY)
6. when user neo type dd if=/dev/zero of=somefile bs=1024 count=30 he succeed.
when he type dd if=/dev/zero of=somefile bs=1024 count=70 he fails.
7. Resize your logical volume myvol to 300Mb. A + or - 10Mb variation is allowed.
8. Create a new partion of 100Mb size and mount it permanently under /mnt/new. (COMPULSARY)
9 And 10 kernel panic. Problems in /etc/fstab and /boot/grub/grub.conf
1. Fll the enrollment form.
2. Install a dialog rpm. RPM lies in /var/ftp/pub
3. Installation requirement
/home - 512 /boot - 128
/var - 512 / - 256
/usr - 2048 swap - 1.5 to 2 times of memory seen
in proc filesystem. All the remainig space will be allocated to raid 0 and mount it on /data.
4. Add a group named sysadmin. Add 3 users john, jane, and eric out of which eric should not have
a login window. john and jane are members of secondary group sysadmin.
5. Create a directory sysadmin under /data. The members of sysadmin should be able to create files
in sysadmin. The files created in sysadmin should have group ownership as sysadmin.
6. Enable ip forwarding.
7. Export /data only to example.com domain
8. Upgrade with appropriate kernel. New kernel lies in /var/ftp/pub/updates.
9. Printer configuration through IPP(cups). The print que is stationx. and server is
server1.example.com. You can check it under site http://server1.example.com:631/printers/stationx/
10. In the server nisuserx has his home directory in /rhome/stationx/nisuserx.
In your system nisuserx should get his home directory in /rhome/nisuserx. All other nisusers should be able to login but others can't get their home directory.
11. User jane sets a cronjob to print hello to any output device at
1. Enable ssh only to user john. or enable ssh only to example.com
2. configure an ftp server only to example.com
3. Configure a pop3 server only to example.com so that user eric should get his mail.
4. Setup an SMTP server such that you can receive mail from any network.
5. Setup a samba server. The workgroup is example. A share named data is shared and it should be browsable and should not be writable. The valid user is john.
6. Setup a site named stationx.example.com. The html file lies in /var/ftp/pub/html/htmlfile.
Use ftp to download the html file.
7. Setup a proxy server on port 8080 only to example.com
8. Configure imaps in such a way that john gets authenticated and allowed to use
Imaps. Cracker.org machines should not get authenticated.
9. Setup a site named wwwx.exmaple.com where x is your station number. Document root is
/www/date. Html file lies in /var/ftp/pub/www/wwwfie. User john should be able to host site on it.
10. Create a mail alias for example.com as something.com
Troubleshooting (45 minutes)
1) Login to the system as root with password "redhat"
2) ping to ip 188.8.131.52
3) mount the exported directory /var/ftp/pub of 192.168.100.79 on to the directory /mnt/cdrom/ refer file "/root/network.txt" for network configuration
4) The system should boot in run level 5 with graphical login screen
5) resize lvm to have 50mb more space
6) mount the the remote share to /mnt/
7) share the directory /data with rw permission to all (portmap)
NOTE Re-Installation of the system is not allowed in section 1 (rescue disk will be provided)
Installation and RHCT (2 hours)
1)Install with the following specification
remaining /data as raid partition
with Hostname "exam" and root password "redhat"
Network installation is to be done
ip of local system 192.168.100.20
ftp server 192.168.100.79 /var/ftp/pub/
2) Configure your machine to get dynamic ip
3) Install dialog rpm
4) Create a user "mark" who does not have an interactive shell
5) Create a user "green" who also belongs to group "mark"
6) Create a user who belongs group "mark" only
7) Configure your machine as dns client
DNS server 192.168.100.79
8) Configure an NIS client
NIS server 192.168.100.79
9) Configure your machine to mount the home directory of user "nisuser" at boot time
home directory of user "nisuser" 192.168.100.79:/home/nisuser
10) Create a directory "share" in / with rwx permission to all users in group "mark"
Files created in this directory should have read permission to all
But users cannot delete files created by others
11) Configure a cron job to create a file "logout" in /root
with the content "Time up" at 06:00 am everyday
12) Configure a local printer with queue name "prqu"
13) install the kernel rpm and boot with the new kernel(ftp server and location of kernel rpm will be given)
14)configure your machine as ftp server with access restricted to the domain cracker.org
15)configure your machine as an ssh server with access only from cracker.org
16)configure your machine as samba server to share the directory /data with rw permission to all members of example.com domain. members of cracker.org should not be allowed to access the share
17)set up your machine as mail server.mails to root should be delivered to user mark
18)set up your machine as httpd server server name tux.example.com (index.html for this wil be provided at ftp site)
19)enable imap with ssl support
20)configure a virtul host virtual.example.com (index.html will be provided at ftp site)
17) Configure your machine to have a default runlevel of 3