Assignment title: Information
Project 1
DAVE3610 Nettverks- og systemadministrasjon
Spring 2017
The DAVE3610 University wants to implement a centralized account management such that all
the users created whether they are staff, student are managed centrally. The University policy is
to only use open standards and avoid proprietary solutions. The IT department has been given
a task to build a solution based on Open Source technologies with the following specifications.
The system must implement:
● a scalable LDAP server:
○ OpenLDAP is the required LDAP server for the University.
○ a user should be able to login with the same username and password from any
Linux machine.
○ This includes the LDAP server as well. In other word the LDAP server must be
configured as an LDAP client
● a quota that limits all the users except root and sysadmin to 500 MB of disk space.
As the newly recruited system administrator you receive an email from the senior system
administrator asking you to carry out the following:
Hi Junior Sysadmin,
We want you to prepare a VirtualBox virtual machine and setup a
centralized account management based on LDAP according to the
following requirements:
● Download and import the VirtualBox virtual machine from:
○ http://ismail.cs.hioa.no/dave3610/2017/Projects/Projects.ova
○ YOU ARE NOT ALLOWED TO USE ANY OTHER OVA IMAGE PERIOD!!
● The OVA image contains an XUbuntu 16.04 image with 5 disks four of which do
not contain any partitions, filesystems or data.
● Change and configure the hostname in /etc/hostname and /etc/hosts to your
candidate number:
○ You can find your candidate number i Fronter:
● Partition the 4 empty disks as type Linux Raid.
● Create a RAID level 5 called /dev/md0 with a hot-spare.
○ NB! Make sure that /dev/md0 does not change upon reboot
● Create an Physical Volume on /dev/md0
● Create a Volume Group called dave3610 on /dev/md0● Create a Logical Volume with a size of 2 GB on the Volume Group dave3610
and give it a name that is the same as the hostname. This must also be the
same as your candidate number
● Create an ext4 filesystem on the newly created logical volume
● Create the directory /mnt/homedir
● Mount the newly created ext4 filesystems on /mnt/homedir
● To mount the filesystems permanently upon startup/reboot, edit the file /etc/fstab
and add the the appropriately settings.
● Setup an OpenLDAP server and make sure that it uses:
○ suffix
■ dc=dave3610,dc=com
○ rootdn
■ cn=admin,dc=dave3610,dc=com
○ rootpw
■ pagh3377 kryptert som {SSHA}
● Create the following organizationalUnit in OpenLDAP :
○ People
○ Groups
● Create the following groups in the organizationalUnit Groups:
○ grp1 with GID 4000
○ grp2 with GID 5000
● Create the following users in the organizationalUnit People
○ user1 with UID 4000, GID 4000, homeDir /mnt/homedir/user1
○ user2 with UID 5000, GID 5000, homeDir /mnt/homedir/user2
○ Give both users the password pagh3377
● Setup quota that limits all the users except root and sysadmin to 100 MB of
disk space.
● Once the implementation is complete and well tested, do the following:
○ Turn off the virtual machine.
○ Make a clone of the virtual machine and continue doing Project 2
○ NB! You will find more information on how to deliver the projects in
Project 2.