Test 2, Unix System Administration

This test MUST be typed and formatted to be read on under Unix.
The test is due Friday, December 15, by 5pm.
The paper and project for the class are due at that time as well.

1. Explain the difference between the automounter and the traditional way of mounting NFS based file systems (5 points).

Assume we have two users (moe,larry), each with there own machine (named the same as each user). The files of each user reside on their workstation. They occasionally must use the other person's machine and have decided that it would make sense to automount the files when they login to the other machine. On each machine they have a seperate disk with their respective user files that is the device /dev/dsk/dks0d1s6 .

For both machines give me a the /etc/fstab file and the automount file needed to make this work. In addition, please list the automount command that would needed. (5 pts)

B. Assume the automounter does not work properly. They have decided to use tradional NFS, show the entries in the fstab file and the commands to mount the files. (5pts)

2. Using NIS.

A. Answer the following questions with a short answer (a paragraph or two).
a) Describe a situation where using NIS would make sense among a group of machines. Why is NIS appropriate in your example? (5pts)

b) Describe a situation where using NIS would NOT make sense among a group of machines. Why is NIS NOT appropriate in your example? (5pts)

B. You have been asked to setup a NIS Master server on moe. List the steps you would perform and commands you would execute.(5 pts)

C. You have been asked to setup a NIS Client server on a client machine named larry. List the steps you would perform and the commands you would execute.(5 pts)

3. Printers.
Situation: You have two machines named calvin and hobbes. You have received a HP4 SIMX postscript printer to be attached to the parrallel port device /dev/plp on calvin.

The input filter for the printer is /usr/local/bin/psif

The output filter for the printer is /usr/local/bin/psof

Accounting and log information should be placed under /usr/adm

The spool directory should be placed in the directory /usr/spool/lpd

The full name of the printer should be ifsmhp4simx with a short name of ifsmps

A) Create the local printcap entry on calvin for this printer (5 pts). (hint: just specify the dev parameter to be the parallel port, you don't need to specify any communications parameters).

B) Create the remote printcap entry for the printer on hobbes. Assume the same name as above and locate the spool directory in the same area
In addition to the printcap entry on hobbes what else must be done to allow hobbes to print on calvin.(10 pts)

4. OS Installation (10pts)

- Explain in your own words, what miniroot install is, and how it works 
  (be detailed please).  

- Explain in your own words, what a standard install is,
  (standard install being from a root window on a machine in 
  multi-user state), and how it works (again please provide detail).

- How are they different and when would you typically use each one?



5. Using Fx (5 pts)

- What is the difference between using standalone fx and fx on a machine
  that is in multi-user state?  How are they different and when would 
  you typically use each one?  Again, please use your own words and provide 
  enough detail.



6. Install questions from the homework.

- Given the following assumptions answer the bottom 2 questions:

		- cdrom is attached at id 6 and working fine.

		- the 5.3 base cd with installation tools is in the player

		- the /stand directory on the cdrom contains the 
		  following files:
			sashARCS, sasIP12, sashIP22, sashIP6, fx.ARCS,
		        fx.IP12, fx.IP22, fx.IP6.

	        - the hinv of this system looks like this:

	Iris Audio Processor: version A2 revision 4.1.0	
	1 100 MHZ IP22 Processor	
	FPU: MIPS R4010 Floating Point Chip Revision: 0.0
	CPU: MIPS R4000 Processor Chip Revision: 3.0
	On-board serial ports: 2	
	On-board bi-directional parallel port
	Data cache size: 8 Kbytes
	Instruction cache size: 8 Kbytes
	Main memory size: 48 Mbytes
	Integral ISDN: Basic Rate Interface unit 0, revision 1.0
	Integral Ethernet: ec0, version 1
	Integral SCSI controller 0: Version WD33C93B, revision D
	Cdrom drive: unix 6 on SCSI controller 0
	Disk drive: unit 3 on SCSI controller 0
	Disk drive: unit 1 on SCSI controller 0
	Graphics board: Indy 8-bit
	Vino video: unit 0, revision 0, IndyCam connected

	Remember, in order to boot standalone fx from the cdrom, you must 
	first boot the standalone shell from the cdrom.  


-	What would the commands be for booting standalone shell and 
	then standalone fx be if I then said that this system 
	wasn't supported in the multi-architecture sash/fx (namely that 
	the *ARCS* files didn't work)? (5pts)

-	What commands would you use to boot standalone shell and
	after that standalone fx be if they were supported in the 
	multi-architecture sash/fx? (5pts)


7. Backup.

A. write down the seven backup levels you would use each night 
for dump to do a full 
backup on sunday and then each night backup all files on the disk that
have been modified since the last full backup. (5pts)

B. Write down the the seven backup levels you would use each night
for dump to do a full backup on sunday and then each night backup
just the files that have changed from the previous night (5pts).

C. A new type of tape called DLT is available and will hold
over 10 Gigabytes of data (10,000,000,000). You must calculate the 
parameters to use for density and for the distance in feet of the tape.
Remember the ratio of density to distance should not be more that 100 to 1.
(hint: remember the formula we discussed in the class and is found in the 
man page for dump). (5 pts)


8. Security.

A. As system administrator you have many responsibilties. List some ways
you can improve your site's system security (5 pts).


B. How do system backups fit into creating a secure environment? (5pts)