Shell Script on Debian
The "passwd" command expects to read the new password only from the console, How to it read the new password only from a file. I create a file (Ex: test file )
After, I use: "passwd < test" (shell on Debian is sh)
But it always error: "Enter new UNIX password: Retype new UNIX password: Sorry, passwords do not match"
Please, could you help me.