Skip to content

Users and sudo

Many users, one computer

  • Linux was built for many people to share one machine safely.
  • Each person has a user account. whoami tells you who you currently are:
whoami
  • File ownership does not make files private. Their permissions determine which ordinary users can read or change them; administrators may have additional access.

sudo can run an allowed command as root while the original shell remains an ordinary user

Log in or create account

IGCSE, A-Level & AP