Blog Archives

Scripting the passwd command in Linux and Unix

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

Tagged with: , , , , , , ,
Posted in The Linux and Unix Articles!
Support LinuxG via Patreon
Support LinuxG.net on Patreon!
Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!