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 Bab 16, Users and Groups for more information).
When you run an application that requires administrative privileges, sudo will ask you to input your user password. This ensures that rogue applications cannot damage your system, and serves as a reminder that you are about to perform administrative actions which require you to be careful! However, each time you insert the password, the system remembers it for 15 minutes so that you do not have to type it again.
Untuk menggunakan sudo pada baris perintah, cukup ketik "sudo" sebelum perintah yang Anda ingin jalankan. Sudo kemudian akan menanyakan kata sandi Anda.
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.
![]() |
|
Harap berhati-hati ketika melakukan tugas administratif, sebab dapat merusak sistem Anda! |
Beberapa tips lain dalam menggunakan sudo:
Untuk menggunakan terminal "root", ketik "sudo -i" pada baris perintah.
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.