You are on page 1of 1

Pre-exam

First u should change the root password to be able to login to the system by any
password u need after that u will find a text file on the desktop including the root
password and the network configuration as follows.
A-First change the administrator password with mkafifi_3c
B-configure the network ip address 172.16.254.1 ,subnet 255.255.0.0 , gateway
172.16.254.254 DNS: 172.16.254.254
I used the GUI to configure the network and before press ok I deactivate and reactive
the network interface and then service network restart then chkconfig network on
Exam question
1-create partition exts3 with size 500MB and mount it to /common
2-install the kernel from ftp://server1.example.com and make it the default kernel
3-Add users, Natasha, harry, David, Sarah create group admin, add secondary group to
Natasha harry and Sarah and David not, all users password flactarg , deny login to
Sarah
4-create directory /common/adm ,make the group owner sysadm ,
give natasha read and write permission , and deny herry read write permission , all
users should not execute permation on this folder
5-Add ipp printer named station1 on the server1.example.com , it's a generic printer
and text only , make it as default and print anything
6-add cron job to user Natasha to run at 14:23 echo hiya
don't forget service crond restart & chkconfig crond on
7-bind an NIS to 172.16.254.254
8- configure IP forward on ur machine
9- Add NTP server server.ntp.org
I used the GUI ,& to make sure service ntpd restart & chkconfig ntpd on
10-counfigure automount the /rhome directory on ur machine and give it the write
permission to all users to mount the home directory on server server1.example.com ip
add 172.16.254.254 /rhome/station1 for user natasha
open auto.master then type /rhome auto.home , create folder /rhome , cp
auto.master to auto.home , open auto.home and type
* -rw,soft,int 172.16.254.254:/rhome/station1/&
service autofs restart
chkonfig autofs on
11-find all the files created by user Jacqoub and place it on folder /findfiles
find / -user jackoub -exec mv {} /findfiles \;

You might also like