Reference no: EM13332198
Question 1
You have been asked to install an SVN repository on a server. The SVN will be remotely accessed using the svnserve daemon that is supplied with SVN (please note that this is not the most secure way to access an SVN repository)
Install the distributed revision control system subversion from the Debian package of the same name. After installation you will need to configure subversion to be usable.
Tasks that will need to be done:
a. Install the subversion package.
b. Write and install an init.d script to automatically start and stop svnserve (the subversion server) at boot/shut-down (in daemon mode do not use inetd mode, do not use an ssh encrypted tunnel). (Hint: Use the ex-ample init script /etc/init.d/skeleton and remember to explain your changes.)
c. Create an SVN repository at /usr/local/svn/
d. configure the repository and define the repository usernames and passwords.
e. Implement configuration and runtime options that increase security, explaining why your choices increase security?
f. Test your configuration, repository and running server by creating a project in the repository. Show that you can check in and check out documents from the repository.
(Note: this is supposed to be a remote repository so all tests must be done via the svn server.)
g. Document and explain in your own words the steps required to get the subversion system working. Include an explanation of every command you use (Plus any command line options) and any files you modify or create.
Notes:
a. Explain in your own words each operation you needed to perform to get the Subversion system working. Your descriptions of each operation need to show you understand the purpose of the operation.
b. Access to the repository must be via the server. This means that the URL must begin svn://localhost/. The SVN client can access the repository directly from the file system But that does not demonstrate that the server is up and running and is useless for distributed revision control.
c. Do not explain how you installed packages!
d. List all resources used in answering the question.
Question 2
A user comes to you and explains that she needs some form of encrypted file system to store sensitive information on a Flash drive. The Flash drive will be used to transport the sensitive data between work and home and she is worried about loosing the drive and having the data stolen. Both machines, the one at home and the one at work, use the same Linux OS.
She has the following requirements:
a. She does not want to encrypt individual files as she has to deal with a large number of files.
b. She wants it to be as transparent as possible.
c. She thinks she will only need about 64MB at most.
d. She wants to also use the ash disk for transporting unencrypted files. Files that can be read on machines apart from her work and home machines.
A 64MB file on the Flash drive that contains an encrypted file system would be ideal
a. Setup a 64MB encrypted file system in a file on a Flash drive so that it can be used with the cryptmount command.
Document and explain in your own words every command you use (plus any command line options) and any configuration files you modify or create. Your descriptions of each Operation need to show you understand the purpose of the operation. (If you are uncertain why a particular command or command line option is required ask! There is at least one step and command line option that you cannot understand from the information in the man page alone! It will require some research!)
b. Things you must also address and explain:
1. how to ensure that the Flash drive has exactly the same mount point each time it is used on different machines.
If it does not have the same mount point then how do you configure paths? (Hint: Experiment with "labelled" file systems (see e2label) or UUIDs)
2. how to manage the file system encryption keys.
c. Write an instruction sheet for the user so that she can make the modifications to her home machine so that she can access the file on the flash drive containing the encrypted file system. Also explain how she would use the file system in her day-to-day work.
You may assume that she has root access to be able to configure her home machine to mount an encrypted file system.