Answers for "debian remove root password"

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

linux delete user password

# sudo -i without password
sudo visudo
<username> ALL=(ALL) NOPASSWD:ALL

# Delete the password for your user by running this command:
sudo passwd -d `whoami`
Posted by: Guest on August-07-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language