In the past, WiFi passwords can be found in /etc/NetworkManager/system-connections/. With the new Ubuntu 24.04 Noble Numbat, that folder is empty (even as I am using home WiFi now to post this question).

So the question, where are WiFi passwords stored now?

PS: I also have active Wireguard VPN connections made via the NetworkManager GUI. The /etc/NetworkManager/system-connections/VPN folder is also empty.

  • 2
    Did you save the connection settings for only your user? Then IIRC it gets saved in your keying
    – muru
    Commented May 27 at 5:02
  • The connection is available to all users.
    – Majal
    Commented May 27 at 5:30

1 Answer 1


The wifi passwords are now stored in .yaml files in /etc/netplan

  • 1
    Just wondering if they're stored in plain text?
    – Xen2050
    Commented May 27 at 21:54
  • 1
    They are likely stored in plain text but they might need admin/root privileges to view the files
    – Jeremy31
    Commented May 27 at 23:16
  • 2
    You're right. they are right there. Yes, stored in plaintext and the permissions of the yaml files are -rw------- 1 root root. Thanks for that.
    – Majal
    Commented May 28 at 0:06
  • I wonder why they are stored as plaintext instead of a (salt+)hash?
    – qwr
    Commented May 28 at 16:01
  • @qwr they were stored in plain text when they where in /etc/NetworkManager/system-connections but you needed admin privileges to read/see any file in that directory
    – Jeremy31
    Commented May 28 at 16:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .