[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

how to change password.

hi friends,
   I am developing a module called password manager,
in which i will be managing the password issue in
whole the system.
I get a username oldpassword and new password through
mails and i should update them at the OS level i mean
in /etc/passwd and also in /etc/shadow files.

so how should i do it ? I have a raw sloution(using
dup with passwd command) but i want the right one.
plz do help.

thanx in advance

Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!