[LIP] passwd wrapper

"Godbole, Amarendra \(GE Consumer & Industrial\)" <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <905989466451C34E87066C5C13DDF034033D6962@HYDMLVEM01.e2k.ad.ge.com>
Hi,

I have to write a passwd wrapper (my googling 
efforts have so far returned a blank), to grab 
the  user's password while he is changing it.

I'd appreciate if someone points me to the 
documents which explains how the passwd
command works, so that I can write a wrapper.
I have no access to any UNIX related book as of
now. I need to do this only for one user, `informix' 
as I have to fill in the JDBC URL with this 
password.

Okay, one option is to dig into the code of the 
passwd utility, but I have not much time at hand 
to do that.

Thanks in advance.

Cheers,
Amar

--
I used to be an atheist, until I realized I was GOD.


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.