Table of Contents

Users and Limits


Users & Groups

Becoming root vs. Running as root (su, sudo)

See Types of Users.

Becoming root

Running as root/administrator

Adding new users

     logname:(encrypted-passwd):uid:gid:user info:home:shell
          group:(group password):gid:members      # group passwords are not common

Choosing passwords

    DOg.tenT (mixed upper/lower case)
    t00l%p0nd (zeros instead of "O")
    p33l*BOARd (substitute numeric for alpha)
    tned-Pile (reversed first word)

Shell initialization files

Automating account creation / deletion

Disabling and/or removing user accounts

User quotas and limits

Disk quotas

                  Disk quotas for user mp3user (uid 503):

                    Filesystem  blocks       soft       hard     inodes     soft     hard
                    /dev/hda3       24       5000          0          7        0        0

Resource usage quotas

User authentication and PAM

Linux PAM


Lab Activity

Fork bombs & ulimits

Read information on fork bombs and prevention at the following two links:

Apply the fork bomb preventative measures to your Linux systems. Test a fork bomb, but make sure the limits are in place first!