Professional Documents
Culture Documents
Duration: 2 hours
Note to Candidates: Please check the Programme Title and the Module Title to ensure that you have
received the correct examination paper.
If in doubt please contact an Invigilator.
1
1.
(f) In which Linux directory, would you expect to find configuration files?
(2 Marks)
(g) In a Linux environment, where might you expect to find root’s home directory.
(1 Mark)
(h) Apart from ordinary files, directory and soft links, write down two other types
of Linux files. (2 Marks)
2.
(a) Explain how a user is authenticated when logging onto Linux. (4 Marks)
(b) Give two reasons why Linux passwords are regarded as being secure.
(2 Marks)
(d) What sort of information is held about users in the /etc/passwd file? (7 Marks)
(e) Without using a GUI, how could you check group membership? (2 Marks)
creates a new user kate. What problem would the user have when she logs on
and how would the administrator solve it? (3 Marks)
(g) An administrator has created two new Linux users bill and jack. The
administrator wants to:
2
3.
(a) Explain what is meant by a hard link. (2 Marks)
(b) How many hard links would a file normally have? (1 Mark)
(c) Explain how a soft link is different from a hard link. (3 Marks)
(f) Describe two ways a user may change his/her PATH in a Linux environment.
(4 Marks)
(g) How might an administrator set all users’ PATH (not including root’s).
(2 Marks)
(i) PATH and HOME are environmental variables. Name two other environmental
variables. (2 Marks)
(j) How would a user list all his/her environmental variables? (2 Marks)
(k) Describe how a user might create a new environmental variable and give an
example of how it might be used. (3 Marks)
4.
(a) Suggest five criteria an administrator should consider when planning a backup
policy. (5 Marks)
(b) A user wishes to backup the entire contents of his home directory. The backup
should be placed on a USB directory mounted at /media/usb. Write a shell script
which could do this. (5 Marks)
(d) Other users want to use the script in (c) above. Describe how the script could be
changed to:
(e) Write down five items of information an i-node (information node) might hold
about a file. (5 Marks)
3
5.
(a) Describe, with the aid of a diagram, the UNIX block addressing scheme.
(7 Marks)
(b) With reference to Intel hard disks, explain the difference between primary,
extended and logical partitions. (6 Marks)
(c) Give reasons why a personal computer might have more than one partition.
(4 Marks)
(f) Explain how you would make a removable device read only. (2 Marks)