Debian on Linux: Superuser do - use sudo command
Related Videos: Linux - sudo Command Intro (May 2024).
If you have a computer with a Linux distribution such as Debian, you have probably run a sudo command before. You can read what exactly is behind this command in this practical tip.
What is the sudo command for?
The sudo command allows users of a Linux operating system to use various functions of a root user ("superuser") without the user gaining full root rights.
- A big advantage of the sudo command is that the user does not have to know the root password. The sudo command only asks for the user's password. Additional privileges can be temporarily granted to individual users and then removed without the need to change a password.
- It is also very practical that you only have certain root rights as long as you execute the sudo command. After that, you can continue to work as normal as a standard user without accidentally doing any damage.
- In addition, as soon as a sudo command is executed, the user name and the command are logged.
- If you still want to work as a root user, you can simply change the user with the "sudo su" command.
- You can make various settings in the "/ etc / sudoers" file, which you can edit with the "sudo visudo" command.
You can find out how to install Java on Debian in the next practical tip.