> is there a way to change ones password through shell scripts?
> with the password username command, you are prompted for a new password.
> is there a possibility that the shell-script supply the input(new
> password twice) from a file/text rather than the STDIN?
Hi,
Yes this is possible.
try chpasswd
chpasswd <text_file
cat text_file
user:passwd
if you use chpasswd without -e option passwd expected to be in cleartext,
but if you use with -e passwd expected to be in encrypted form.
man chpasswd
MURAT KOC
-====---====---====---====---====---====---====---====---====---====---====-
to unsubscribe email "unsubscribe linux-admin" to [EMAIL PROTECTED]
See the linux-admin FAQ: http://www.kalug.lug.net/linux-admin-FAQ/