Vous êtes sur la page 1sur 5

RHCE Questions You will note that some requirements specify that a service should not be available from

the DNS domain cracker.org. All systems in that domain are in the 172.24.0.0/255.255.0.0 subnet, and all systems in that subnet are in cracker.org * Configure SELINUX -The machine should be running in enforcing mode * Cronfigure Cron deny -Configure a cron access Lason should not be allowed to use cron Note: This restriction must not affect any other user * Configure Boot Parameter -Modify your system ,so that when it boots the parameter.kernstack is set to value of [1]. Note: your changes should be visible from /rproc/cmdline. * Mount An IMAGE FILE -download the image file ftp:/station.domainX.example.com/pub/img.iso -configure your system so that the file system image located in /rroot/img.iso is automatically mount on /mnt/container at system boot time * Configure a FTP access -Implement An FTP server for the following requirements. (i)The FTP server allows anonymous file downloads from /var/ftp/pub (ii)The clients outside the example.com should not have the anonymous FTP access in your machine * Configure an Email alias -configure an email alias for your MTA such that the mail sent to gls is receiced by the local user "natasha"

www.scribd.com

* Configure a group e-mail alias -configure an e-mail alias for your MTA. such that mail sent to(acct)is received by the local users (i)natasha, andrew, harry * Configure SMTP -configure your system to provide SMTP mail service according to the following requirements (i)your mail server should accept mail from remote hosts and local host. (ii)harry must able to receive mail from remote hosts (iii)mail delivered to harry should spool into the default mail spool for harry,/var/spool/mail/harry * NFS -configure NFS-EXPORT (i)export your /common directory via NFS to the example.com domain only Note:Because you will not have root access you will not be able directly mount your exported /common directory on your virtual system, however autofs is running on your physical hosts so you can test that nfs is working by checking the directory. /net/station.domainX.example.com *SMB -Share the /common directory via SMB: Your SMB server must be a member of the SMBGROUP workgroup The shares name must be common The common share must be available to example.com domain clients only The common share must be browseable susan must have read access to the share, authenticating with the same password password, if necessary * SSH

www.scribd.com

-Congure SSH access as follows: susan has remote SSH access to your machine from within example.com Clients within cracker.org should NOT have access to ssh on your system * IP Forwarding Enable IP forwarding * Web Server Implement a web server for the site http://station.domainX.example.com, Then perform the following steps: Download ftp://station.domainX.example.com/pub/rhce/station.html Rename the downloaded le to index.html Copy this index.html to the DocumentRoot of your web server Do NOT make any modications to the content of index.html

Implement a web server for the site http://station.domainX.example.com/restricted Create a directory named as "restricted" under the document root of web server Download ftp://station.domainX.example.com/pub/rhce/restrict.html rename the file into index.html The content of the restricted should be visible to everyone browsing from your local system but should not be accessible from other location

Setup a virtual host with an alternate document root. Extend your web to include a virtual for the site http://vhosts.domainX.example.com Set the document root as /usr/local/vhosts Download ftp://station.domainX.example.com/pub/rhce/vhost.html rename it as index.html place this document root of the virtual host Note: The other websites configures for your server must still accessible.

www.scribd.com

vhosts.domainX.example.com is already provide by the name server on example.com

Configure a virtual host. Extend your web server to include a virtual host for the site http://www.domainX.example.com then perform the following steps set the Document root to /var/www/virtual download ftp://station.domainX.example.com/pub/rhce/www.html rename it to index.html place the index.html into root directory ensure harry is able to create a content in /var/www/virtual Squid Restrict access to your web server (i)restrict the access to your web server as follows client in the cracker.org network should not have access to your web server * Configure An ISCSI disk -The System(station.domain254.example.com) provides an ISCSI port(3260).connect your virtual system to this device and create a filesystem using this device according to the following requirements (i)create a 20.00MB partition on the ISCSI block device and format it as an EXT4 file system mount the formatted partition on your virtual host system at /mnt/display (ii)The File system should contain a copy of the file ftp://station.domainX.example.com/pub/iscsi.txt This file should be owned by the root with permission of 0644 Note: Do not make any changes to the content of this file. The file system should automatically mount on boot

www.scribd.com

* create a script under /rroot/program that provides the following details: i) when run as /rroot/program Anderson it produces the output "James". ii) when run as /rroot/program James ,it produces the output "Anderson". iii) when run without argument or any other argument, other than Anderson or James it sends the following output "/rroot/program Anderson James"

www.scribd.com

Vous aimerez peut-être aussi