Linux System Administration

System Administration Practicum

Day 2

Instructions: You have 90 minutes to complete this portion of the exam. You are not allowed to use any resources except for the man pages. Please remain as quiet as possible. If you have ANY questions, then you are to direct them to me.

Create a user called guest with password guest2005. Give this user UID 1000 and group GID 1000. Give this user a quota of 250MB.

Create a group called linuxclass. Add the users mlevan and guest to this group. Give this group GID 750.

Make sure the following services are turned on for any subsequent reboots:

yum

irda

nfs

vncserver

Configure the printer in the lab to work with your system.

Set up your system so that passwords need to be changed every 7 days.

Set up a cron job for mlevan that will run at 7:42am every Wednesday. This job will create a file called CRON1 in mlevan's home directory.

Through NFS, mount the directory /NFSSHARE on 10.20.1.52. You will need to create a directory in / that is called NFS. Mount the NFSSHARE directory there. Change your system so that this directory is mounted at every boot up.

Set up your system so that users at 10.20.1.52 is the only machine that can access your machine through SSH. Also, set up your workstation so that the local user mlevan has access to using cron, but the other regular users (guest) do not.

Set up a RAID 0 configuration. You will need to create 3 partitions to link together. Make sure the RAID is mounted during the boot process. Make the partitions size 30MB, 50MB, 75MB.

Make a directory called GROUPWORK in the /home directory that the GROUP created earlier can access. Make sure the group name of the directory is set to linuxclass. Make the permissions of the directory so that only members of the group can read, write, or execute commands in the directory.

2005-05-22T20:13:57