How to View Network Manager WiFi Passwords in Linux!

If you ever wanted to view WiFi passwords on your Linux PC then you have come to the right place. Today I will be showing you how to view the passwords that are stored by Network Manager. Let’s get started!

Method 1:

You can change/view the passwords via the graphical user interface of nm-applet.

  1. Right click on the applet in your system tray or menu (depending on desktop environment)
  2. Click edit connections
  3. Select the WiFi network and click ‘edit’
  4. Then navigate to ‘Wi-Fi Security’ and then click ‘show password’

Method 2:

This method is done though the terminal which will print out all the WiFi passwords saved on the machine. It may not work if the password hashes are encrypted though.

  1. Open up a terminal and type the following
  2. # sudo grep -H '^psk=' /etc/NetworkManager/system-connections/*

That’s it!



Leave a Reply

Your email address will not be published. Required fields are marked *

Blue Captcha Image