Hi,
I want to change my password through a script:
tried this but it didn't work. Can anyone see the mistake I am making?
tc@box:/mnt/sda1$ echo '123asimov$$$' ; echo '123asimov$$$' | sudo passwd tc
123asimov$$$
Changing password for tc
New password:
Retype password:
Passwords don't match
passwd: password for tc is unchanged
Thanks.