Re: Is there any way...

Lorens Kockum (lk-lk@bigears.solsoft.com)
Wed, 25 Feb 1998 09:37:43 +0100


On Tue, Feb 24, 1998 at 07:18:24PM -0500, Sergei Viznyuk wrote:
>
> I want a very simple thing: to be able to encrypt AND DECRYPT password.
> Now, if I am, say, user "smitty" and I want to encrypt my password for
> some application and store it into some readable by everyone file. Other
> users will do the same for their passwords.

That file is called /etc/passwd, except if you have shadow passwords (like
everyone should).

> Now, how to make it so that only the owner can decrypt his/her own
> password providing the source code for the programs which will do
> encyption and decryption should be publicly available?

The user, by definition, knows his password. Why should he want to decrypt
it ?

Let's go a level higher in what you want to do. What is all this supposed
to be good for ?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu