Answers for "how to reset sudo password in debian"

0

debian sudo without password

#1. Open the /etc/sudoers file (as root, of course!) by running:
sudo nano /etc/sudoers

#2. At the end of the /etc/sudoers file add this line:
username ALL=(ALL) NOPASSWD:ALL
Posted by: Guest on September-25-2020
0

command to reset password on debian 10

$ sudo passwd

Changing password for user root.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
Posted by: Guest on October-27-2021

Code answers related to "how to reset sudo password in debian"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language