How to Add a User to the sudoers File in Debian 13
How to Add a User to the sudoers File in Debian 13
-
At the GRUB menu, select the recovery menu for the latest kernel.
-
Log in with the
rootaccount. -
Mount the root directory:
mount -o remount,rw /
- Give the user
sudoprivileges:
sudo usermod -aG sudo username
- Then type
exit