Agreed! I believe the original post wanted something simple, to begin with.
Users could then change their passwords (especially if the password program is
set to force a change on first login).
RKA
>===== Original Message From Suresh Ramasubramanian <[EMAIL PROTECTED]> =====
>Rajkumar Andrews rearranged electrons thusly:
>
>> b) Suresh's perl hack is really long for such a simple task! I've seen a
lot
>> of perl hackers doing the same thing. Python has a simpler way to do it.
>> c) Try the following expect script (modify it after learning the flow)
>
> If you noticed - a lot of the extra perl was to encrypt the passwords.
> Just adding plaintext passwords could have been done in far fewer lines.
Visit me at http://princeandy.webjump.com
----------------------------------------------
Find out more about this and other Linux India
mailing lists at http://lists.linux-india.org/