Debian: Add SUDO

Run as root (you don’t have sudo yet)

su - root
apt install -y sudo
adduser bhdicaire
usermod -aG sudo bhdicaire

For the new group membership to take effect, you must log out of your session and log back in.

Verify Sudo Access Open a new terminal and try a simple sudo command, like sudo apt update. You’ll be prompted for your own password, not the root password. To check a user’s permissions: sudo -l -U yourusername.