Pages

Enable sudoers in Debian while installation

"Sudo (sometimes considered as short for Super-user do) is a program designed to let system administrators allow some users to execute some commands as root (or another user). The basic philosophy is to give as few privileges as possible but still allow people to get their work done. Sudo is also an effective way to log who ran which command and when" (Debian Wiki).

In normal case, users add to sudoers list after the installation of Debian. This process makes confusion among new Debian users. sudo can be enabled at the time of installation by leaving the root password blank. See the screenshot asking root password while installing Debian. 
If you leave the fields blank and continue, the default user will get administrative power, i.e. sudo power.
After the installation, sudo would be active. I tried this method with Debian 10.

No comments:

Post a Comment