Where Is Password Saved in Linux?
Contents

The /etc/passwd is the password file that stores each user account. The /etc/shadow file stores contain the password information for the user account and optional aging information. The /etc/group file is a text file that defines the groups on the system.

Where is the password stored in Linux?

Password hashes were traditionally stored in /etc/passwd , but modern systems keep the passwords in a separate file from the public user database. Linux uses /etc/shadow . You can put passwords in /etc/passwd (it’s still supported for backward compatibility), but you have to reconfigure the system to do that.

Where is password stored in Ubuntu?

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 .

Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest