Where Are Passwords Saved?

Where Are Passwords Saved?

This is a weird question to ask, but where are the passwords saved? I mean they must be somewhere for comparing every time. So where are system and network passwords saved?

1 Answer

System account passwords can be found in /etc/shadow. You need root privileges to read the file. The passwords are hashed with SHA. Additional information can be found on the corresponding manpages.

Network or wifi passwords can be found in /etc/NetworkManager/system-connections. There is a file for each connection with its configuration, also you need root privileges to read them but the password isn't encrypted.

Passwords handled by Gnome's password store, the Gnome Keyring, are stored in ~/.gnome2/keyrings. The files are not human readable and should be accessed with Gnome's default password manager Seahorse. On older systems (before precise/12.04) wifi passwords were stored in Gnome Keyring and PINs for Mobile Broadband are still stored there.

14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Chloe Bennett
Author

Chloe Bennett

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.