As you know the passwd command is interactive, so it cannot be used in scripts in it’s basic form. As you know, when you type passwd, you are asked to type the password twice. $ sudo passwd mike Enter new…
As you know the passwd command is interactive, so it cannot be used in scripts in it’s basic form. As you know, when you type passwd, you are asked to type the password twice. $ sudo passwd mike Enter new…