Remove user password
March 10, 2016

Remove user password

Posted on March 10, 2016  •  1 minutes  • 59 words  •  Suggest Changes

Setting a user password is easy :

passwd backup_user

This is easy when you setup password less setup for server to server copy :

(server 1)

ssh-keygen -t rsa
ssh-copy-id user@remote

now you need a password on user@remote

(server 2)

passwd user

after it, you can “delete” the password again using :

passwd -d user

Great little trick ๐Ÿ™‚


If you enjoyed this website, consider buying me a Dr. Pepper

Buy me a Dr PepperBuy me a Dr Pepper