Discussion Locked

encryption & decryption

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Suppose i have a file in unix and in that file i have a no of user name and password in encrypt format and i want to decrypt all the user and password.

can i do that

if yes any script

(Vishal Mongia)

8 replies

by lo

Hi - Not real sure about Unix, but ...

I think most encryption algorithms for passwords are 1 way encryption algorithms. That means that given the algorithm that encrypts, and the result, there is not way to get the original input back. This is a security feature, the only way to know a password to an account is to know (or guess) it. Encryption algorithms for various OS and applications can be obtained from source, reverse engineered, etc. To have it bi-directional compromises the process.

Might post an addendum(sp?) that indicates what you would do once you get the user and pw for an alternate solution.

If you need/want access to the user account in the user context, the best you can do is modify the account so you know thepw, use the account, notify the user you changed, what it is and have them reset.

A word of caution - Most sites consider such actions as a violation and misuse of your administrative authority. There are specific cases where this is justifed,critical data, functions, etc. and user is unavailable (vacation, hospital, etc.). Also issues of termination, employee misuse, etc. and such access is required. Get you Security, Management and Human Resources before you access any user account in such a manner.

I have done this in the past for some cases. Always sent mail (email/voicemail) to user, mgt, hr, etc. as to what, why, etc. with followup to reset the account. With pre-approval when possible.

by gmscne

No. You can not do that. Only the Unix administrator can fix that. You can not do that.

This discussion is closed to new replies.