/bin/sh script.
Need to change a users password within the script based on a file of
user/pass I am feeding the script.
Easy.
Except the passwd command does not seem to be able to take a password as
an argument - I don't think that the passwd command can run
non-interactively.
So how is this
On Tue, Jan 17, 2006, user wrote:
/bin/sh script.
Need to change a users password within the script based on a file of
user/pass I am feeding the script.
See ``man pw'', in particular the ``-h fd'' option.
..
Except the passwd command does not seem to be able to take a password as
an argument
user wrote:
/bin/sh script.
Need to change a users password within the script based on a file of
user/pass I am feeding the script.
Easy.
Except the passwd command does not seem to be able to take a password as
an argument - I don't think that the passwd command can run
non-interactively.
So