Skip to content

Users and sudo · ⁨用户与 sudo⁩

English

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:
  • Your files are yours; other users cannot read or change them unless you allow it.

中文

多个用户,一台计算机

  • Linux 从设计之初就是为了让许多人安全地共用一台机器。
  • 每个人都有一个用户账户。whoami 会告诉你当前是谁:
whoami
  • 你的文件属于你自己;除非你允许,其他用户既看不到也改不了它们。

sudo 让普通用户以 root 的全部权限运行单条命令

Log in or create account · ⁨登录或创建账户⁩

IGCSE, A-Level · ⁨IGCSE、A-Level⁩ & AP · ⁨与 AP⁩