Is there a way that I can pipe text to passwd...
This is what I am trying to accomplish
e.g. passwd [user] < cat password.txt
Is there a way that I can pipe text to passwd...
This is what I am trying to accomplish
e.g. passwd [user] < cat password.txt
I don't think passwd uses standard-in; so my best guess is no, you can't pipe or redirect in. You may use command line examples likke: xargs or find -exec passwd {} \; and similar command line forms.
But Mib, te url you mention, just having source of tcl and expect, and configuration ask us to compile it using C.
It's pity, in my RS6000/AIX no C installed, only java.