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

Re: how to change password.


vishwanath kalbagilmath typed:
>    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.

Dear Sir,

Please give me detailed specifications about how to use this email
based password changing scheme, and where to send my mails etc, so
that I can change the password for all your users.

Thanking you,
Yours jokingly.

;-) Actually - this is *not* a good idea. Maybe you could make a PGP
key at the server, and make the users encrypt all the mails sent - with
that public key. At the server end, it gets decrypted automatically
(make the key without a passphrase) with the help of the private key,
and then do the password changing operation.

Mrinal Kalakrishnan <mrinal@xxxxxxxxx> http://mrinal.dhs.org/
Linux 2.2.16 || PGP:B1E86F5B || Mutt 1.3.4i (2000-06-19) || VIM 5.6 
"What you end up with, after running an operating system concept through
these many marketing coffee filters, is something not unlike plain hot
(By Matt Welsh)