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 を使い方に関するその他の小技:
"root"のターミナルを使用するには、コマンドラインで"sudo -i"と入力します。
All of the default graphical configuration tools in Xubuntu already use sudo, so they will prompt you for your password if needed.
For more information on the sudo program and the absence of a root user in Xubuntu, read the sudo page on the Ubuntu wiki.