PDA

View Full Version : Is there a file which remembers all users passwords


bggashnik
August 24th, 2007, 06:16 AM
I wannna ask if I login in the console as root,is there a file that I can open and see the administrator's password?

olejorgen
August 24th, 2007, 06:36 AM
I don't think so. It's a file called /etc/passwd and /etc/shadow that contains user info, but I think the password bit is an secure hash/encrypted. (Please confirm?)

sonofusion82
August 24th, 2007, 06:40 AM
I don't think so. It's a file called /etc/passwd and /etc/shadow that contains user info, but I think the password bit is an secure hash/encrypted. (Please confirm?)


yes, they are hashed. and not easily reversible to reveal the actual password unless you have large amount of computing resources to mount a brute-force attack.. well, sometimes dictionary attack may work...