next up previous

Root or Superuser Powers

This contains links to information used in the lectures.

Unix model of ownership

Superuser

UID 0 is treated differently than any other. It is said to have superuser privileges. Conventionally UID 0 is called root. The superuser can access any local file or process. Certain system calls can only be executed by root for example: root programs can change ownership at will. login is a good example.

Root password choice

Since it is important that the root password be secure, it should not be an easily guessed word. Various systems enforce rules on password, such as that the password be mixed case or contain at least one special character. Root passwords should be the full eight characters - longer is useless, since only eight are checked. There are also recommendations.

One should change the password regularly, when anyone with superuser privileges leaves, and if security has been compromised.

Becoming Root

Other system users - daemon, bin, sys, nobody



next up previous


Paul A. Farrell
Wednesday, January 17, 1996