The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Security
Google UNIX.COM


Security Anything involving computer security goes here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to Recover windows administrator password? jagdish.machhi@ Windows & DOS: Issues & Discussions 4 08-07-2007 07:43 AM
Recover root password nitinkgoud SUN Solaris 1 07-18-2006 02:01 PM
Recover deleted files kuultak UNIX for Dummies Questions & Answers 2 11-01-2004 10:05 AM
how to recover with awk mips Shell Programming and Scripting 1 04-08-2004 07:18 AM
recover lost data pkappaz UNIX for Dummies Questions & Answers 2 12-06-2001 11:44 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-22-2001
Registered User
 

Join Date: Sep 2000
Location: UTAH
Posts: 27
Question

Hello All,
I have an application user (INFORMIX). This is a system user. It runs processes That I am unaware of. I need to discover the user's password. I can't change it, because it will affect the processes it's runnig. Is there a utility that will allow me to 'su' to that user from root and print out the password in plain text?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-22-2001
Registered User
 

Join Date: Dec 2000
Location: Greater Dallas area
Posts: 405
i don't beleive there is a utility to do what you ask. There is a program(s) named crack that will attempt to crack the passwd, but it is an exhaustive password cracker and takes time and may not crack the encryption. Processes already running will not be affected by a passwd change. in fact, informix can be a locked user if the database is started by the rc scripts.
__________________
[url=http://chuckb.1le.net/]My website[/url]
Reply With Quote
  #3 (permalink)  
Old 05-24-2001
mib mib is offline
Registered User
 

Join Date: Jan 2001
Location: Calicut
Posts: 228
Passwords are never decrypted on unix, but rather, a system call is made to a function and the string you enter as the password gets encrypted, and compared to the encrypted password. If they match, you're in. Now, there are password hackers, but they donot decrypt the password file, but rather, encrypt words from a dictionary and try them against every account (by crypting/comparing) until it finds
a match.

as 98_1LE suggest use 'crack' or 'John The Ripper'


Reply With Quote
  #4 (permalink)  
Old 05-27-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,191
The UNIX password encryption algorithm is a 'one way' mathematical function. 'One way' means there is encryption, but no decryption possible. As MIB and 98 say, the only way to search for passwords is to encrypt passwords and compare them to the encrypted string.

This is why picking simple dictionary words as passwords is weak, because password cracking programs use an internal dictionary to encrypt and compare.

One way passwords, BTW, has limited long term usefulness. With computing power and storage prices dropping, there will come a time in the near future when it is possible for people to encrypt all possible combinations (with the salt) and query the database directly with the encrypted string. With an 8 token limitation, this is becoming closer to reality each year.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:42 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0