Skip to main content


2 Ways to Add Users to SUDOERS Group in Debian
[Tutorial]https://www.debugpoint.com/add-users-sudoers/

#linux #opensource #debian
Sudo
Nice article! A piece of information that should be included in the article is the fact that if you just leave the root password empty during installation, the system will be configured such that the normal user created during installation can use sudo right from the start. Therefore this stanza is not completely correct: "By default, Debian Linux does not provide root access to the user account. If you are running any command requiring root privileges, you may get this error: …"
Quote from the installation manual: "In case you do not specify a password for the “root” user here, this account will be disabled but the sudo package will be installed later to enable administrative tasks to be carried out on the new system. By default, the first user created on the system will be allowed to use the sudo command to become root." https://www.debian.org/releases/stable/amd64/ch06s03.en.html#user-setup-root
@silwol Thank you! I have modified the paragraph with the details. 😀
Thanks, very quick and well written!