第 14 章 管理任务

In Xubuntu, for security reasons, administrative tasks are confined to users with special privileges. Administrative access is given to individual users, who may use the sudo command to perform administrative tasks. The first user account you created on your system during installation will, by default, have access to sudo. You can restrict and enable sudo access to users with the Users and Groups application (see 第 16 章 用户和用户组 for more information).

当您运行一个需要管理权限的应用程序时,sudo 将会要求您输入您的用户密码。这确保了恶意程序不会破坏您的系统,并提醒您将进行的是管理工作,需要您小心!然而,每次您输入密码后,系统将会记住它 15 分钟,这样您就不用重复输入了。

要在命令行中使用sudo,直接在你需要运行的命令前加上"sudo"即可。Sudo会提示你输入你的密码。

As noted above, sudo will remember your password for a set amount of time, which by default is 15 minutes, but can be changed. This feature was designed to allow users to perform multiple administrative tasks without being asked for a password each time.

[注意]

运行管理任务时务必谨慎,以免损坏系统!

使用sudo的一些提示: