Where does NetworkManager store WiFi passwords on Ubuntu 15.10?












6















I had previously learned that NetworkManager stores WiFi passwords in /etc/NetworkManager/system-connections/<wifi name> file. But in my case on Ubuntu 15.10 I can't find any password in that file.



I tried this:



sudo cat /etc/NetworkManager/system-connections/cig | grep psk
[sudo] password for edward:
key-mgmt=wpa-psk
psk-flags=1


here does NetworkManager store WiFi passwords?










share|improve this question

























  • it is in mine under [wifi-security] and starts with psk= :P

    – Rinzwind
    Nov 24 '15 at 13:49













  • @Rinzwind which Ubuntu you are using?

    – Edward Torvalds
    Nov 24 '15 at 13:51











  • 15.10 ofc ourse ;) are you sure you saved the password?

    – Rinzwind
    Nov 24 '15 at 13:51













  • @Rinzwind of course, I use that wifi connection everyday without entering password again and again

    – Edward Torvalds
    Nov 24 '15 at 14:01
















6















I had previously learned that NetworkManager stores WiFi passwords in /etc/NetworkManager/system-connections/<wifi name> file. But in my case on Ubuntu 15.10 I can't find any password in that file.



I tried this:



sudo cat /etc/NetworkManager/system-connections/cig | grep psk
[sudo] password for edward:
key-mgmt=wpa-psk
psk-flags=1


here does NetworkManager store WiFi passwords?










share|improve this question

























  • it is in mine under [wifi-security] and starts with psk= :P

    – Rinzwind
    Nov 24 '15 at 13:49













  • @Rinzwind which Ubuntu you are using?

    – Edward Torvalds
    Nov 24 '15 at 13:51











  • 15.10 ofc ourse ;) are you sure you saved the password?

    – Rinzwind
    Nov 24 '15 at 13:51













  • @Rinzwind of course, I use that wifi connection everyday without entering password again and again

    – Edward Torvalds
    Nov 24 '15 at 14:01














6












6








6


3






I had previously learned that NetworkManager stores WiFi passwords in /etc/NetworkManager/system-connections/<wifi name> file. But in my case on Ubuntu 15.10 I can't find any password in that file.



I tried this:



sudo cat /etc/NetworkManager/system-connections/cig | grep psk
[sudo] password for edward:
key-mgmt=wpa-psk
psk-flags=1


here does NetworkManager store WiFi passwords?










share|improve this question
















I had previously learned that NetworkManager stores WiFi passwords in /etc/NetworkManager/system-connections/<wifi name> file. But in my case on Ubuntu 15.10 I can't find any password in that file.



I tried this:



sudo cat /etc/NetworkManager/system-connections/cig | grep psk
[sudo] password for edward:
key-mgmt=wpa-psk
psk-flags=1


here does NetworkManager store WiFi passwords?







network-manager password






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 31 '16 at 19:51







Edward Torvalds

















asked Nov 24 '15 at 13:41









Edward TorvaldsEdward Torvalds

5,13274079




5,13274079













  • it is in mine under [wifi-security] and starts with psk= :P

    – Rinzwind
    Nov 24 '15 at 13:49













  • @Rinzwind which Ubuntu you are using?

    – Edward Torvalds
    Nov 24 '15 at 13:51











  • 15.10 ofc ourse ;) are you sure you saved the password?

    – Rinzwind
    Nov 24 '15 at 13:51













  • @Rinzwind of course, I use that wifi connection everyday without entering password again and again

    – Edward Torvalds
    Nov 24 '15 at 14:01



















  • it is in mine under [wifi-security] and starts with psk= :P

    – Rinzwind
    Nov 24 '15 at 13:49













  • @Rinzwind which Ubuntu you are using?

    – Edward Torvalds
    Nov 24 '15 at 13:51











  • 15.10 ofc ourse ;) are you sure you saved the password?

    – Rinzwind
    Nov 24 '15 at 13:51













  • @Rinzwind of course, I use that wifi connection everyday without entering password again and again

    – Edward Torvalds
    Nov 24 '15 at 14:01

















it is in mine under [wifi-security] and starts with psk= :P

– Rinzwind
Nov 24 '15 at 13:49







it is in mine under [wifi-security] and starts with psk= :P

– Rinzwind
Nov 24 '15 at 13:49















@Rinzwind which Ubuntu you are using?

– Edward Torvalds
Nov 24 '15 at 13:51





@Rinzwind which Ubuntu you are using?

– Edward Torvalds
Nov 24 '15 at 13:51













15.10 ofc ourse ;) are you sure you saved the password?

– Rinzwind
Nov 24 '15 at 13:51







15.10 ofc ourse ;) are you sure you saved the password?

– Rinzwind
Nov 24 '15 at 13:51















@Rinzwind of course, I use that wifi connection everyday without entering password again and again

– Edward Torvalds
Nov 24 '15 at 14:01





@Rinzwind of course, I use that wifi connection everyday without entering password again and again

– Edward Torvalds
Nov 24 '15 at 14:01










4 Answers
4






active

oldest

votes


















9














If you choose to only enable your user to use that wifi network, then the wifi password is stored in the gnome keyring of your current user.



If you let every one use that wifi connection, the password is stored in the file you mentionned.



You can also manually change where that password is stored in network manager settings for that wifi network, security tab, click the hdd+green arrow icon in password field and make your choice.



enter image description here






share|improve this answer


























  • Just checked it here. no need to restart network manager for the change to take effect. Your problem is elsewhere

    – solsTiCe
    Nov 24 '15 at 14:07













  • Are you looking in the right file ?

    – solsTiCe
    Nov 24 '15 at 14:10



















1














The password files are saved in this folder :

(in case the password is stored for all users)



/etc/NetworkManager/system-connections  


Execute this command to show all information :



sudo cat /etc/NetworkManager/system-connections/YOUR-SSID  


When the password is stored for only one user, it is saved in gnome-keyring.






share|improve this answer

































    0














    Maybe you can use nmcli



    nmcli c show YOURSSID -s





    share|improve this answer








    New contributor




    Jintao Zhang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.




























      -1














      If you just want to SEE the passwords and other info and not edit, and you prefer doing things gui style, in a terminal window type:



      sudo nautilus


      then enter password at the prompt and you can navigate with the nautilus file manager to the file and read it.



      Displaying in the terminal is more straightforward and probably more secure but some WinDOHs converts will prefer the pretty windowsy interface.






      share|improve this answer























        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "89"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f701970%2fwhere-does-networkmanager-store-wifi-passwords-on-ubuntu-15-10%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        9














        If you choose to only enable your user to use that wifi network, then the wifi password is stored in the gnome keyring of your current user.



        If you let every one use that wifi connection, the password is stored in the file you mentionned.



        You can also manually change where that password is stored in network manager settings for that wifi network, security tab, click the hdd+green arrow icon in password field and make your choice.



        enter image description here






        share|improve this answer


























        • Just checked it here. no need to restart network manager for the change to take effect. Your problem is elsewhere

          – solsTiCe
          Nov 24 '15 at 14:07













        • Are you looking in the right file ?

          – solsTiCe
          Nov 24 '15 at 14:10
















        9














        If you choose to only enable your user to use that wifi network, then the wifi password is stored in the gnome keyring of your current user.



        If you let every one use that wifi connection, the password is stored in the file you mentionned.



        You can also manually change where that password is stored in network manager settings for that wifi network, security tab, click the hdd+green arrow icon in password field and make your choice.



        enter image description here






        share|improve this answer


























        • Just checked it here. no need to restart network manager for the change to take effect. Your problem is elsewhere

          – solsTiCe
          Nov 24 '15 at 14:07













        • Are you looking in the right file ?

          – solsTiCe
          Nov 24 '15 at 14:10














        9












        9








        9







        If you choose to only enable your user to use that wifi network, then the wifi password is stored in the gnome keyring of your current user.



        If you let every one use that wifi connection, the password is stored in the file you mentionned.



        You can also manually change where that password is stored in network manager settings for that wifi network, security tab, click the hdd+green arrow icon in password field and make your choice.



        enter image description here






        share|improve this answer















        If you choose to only enable your user to use that wifi network, then the wifi password is stored in the gnome keyring of your current user.



        If you let every one use that wifi connection, the password is stored in the file you mentionned.



        You can also manually change where that password is stored in network manager settings for that wifi network, security tab, click the hdd+green arrow icon in password field and make your choice.



        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 25 '15 at 13:38

























        answered Nov 24 '15 at 13:57









        solsTiCesolsTiCe

        6,04932048




        6,04932048













        • Just checked it here. no need to restart network manager for the change to take effect. Your problem is elsewhere

          – solsTiCe
          Nov 24 '15 at 14:07













        • Are you looking in the right file ?

          – solsTiCe
          Nov 24 '15 at 14:10



















        • Just checked it here. no need to restart network manager for the change to take effect. Your problem is elsewhere

          – solsTiCe
          Nov 24 '15 at 14:07













        • Are you looking in the right file ?

          – solsTiCe
          Nov 24 '15 at 14:10

















        Just checked it here. no need to restart network manager for the change to take effect. Your problem is elsewhere

        – solsTiCe
        Nov 24 '15 at 14:07







        Just checked it here. no need to restart network manager for the change to take effect. Your problem is elsewhere

        – solsTiCe
        Nov 24 '15 at 14:07















        Are you looking in the right file ?

        – solsTiCe
        Nov 24 '15 at 14:10





        Are you looking in the right file ?

        – solsTiCe
        Nov 24 '15 at 14:10













        1














        The password files are saved in this folder :

        (in case the password is stored for all users)



        /etc/NetworkManager/system-connections  


        Execute this command to show all information :



        sudo cat /etc/NetworkManager/system-connections/YOUR-SSID  


        When the password is stored for only one user, it is saved in gnome-keyring.






        share|improve this answer






























          1














          The password files are saved in this folder :

          (in case the password is stored for all users)



          /etc/NetworkManager/system-connections  


          Execute this command to show all information :



          sudo cat /etc/NetworkManager/system-connections/YOUR-SSID  


          When the password is stored for only one user, it is saved in gnome-keyring.






          share|improve this answer




























            1












            1








            1







            The password files are saved in this folder :

            (in case the password is stored for all users)



            /etc/NetworkManager/system-connections  


            Execute this command to show all information :



            sudo cat /etc/NetworkManager/system-connections/YOUR-SSID  


            When the password is stored for only one user, it is saved in gnome-keyring.






            share|improve this answer















            The password files are saved in this folder :

            (in case the password is stored for all users)



            /etc/NetworkManager/system-connections  


            Execute this command to show all information :



            sudo cat /etc/NetworkManager/system-connections/YOUR-SSID  


            When the password is stored for only one user, it is saved in gnome-keyring.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Nov 24 '15 at 14:42

























            answered Nov 24 '15 at 14:21









            cl-netboxcl-netbox

            26k573114




            26k573114























                0














                Maybe you can use nmcli



                nmcli c show YOURSSID -s





                share|improve this answer








                New contributor




                Jintao Zhang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.

























                  0














                  Maybe you can use nmcli



                  nmcli c show YOURSSID -s





                  share|improve this answer








                  New contributor




                  Jintao Zhang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.























                    0












                    0








                    0







                    Maybe you can use nmcli



                    nmcli c show YOURSSID -s





                    share|improve this answer








                    New contributor




                    Jintao Zhang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                    Check out our Code of Conduct.










                    Maybe you can use nmcli



                    nmcli c show YOURSSID -s






                    share|improve this answer








                    New contributor




                    Jintao Zhang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                    Check out our Code of Conduct.









                    share|improve this answer



                    share|improve this answer






                    New contributor




                    Jintao Zhang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                    Check out our Code of Conduct.









                    answered 10 mins ago









                    Jintao ZhangJintao Zhang

                    1011




                    1011




                    New contributor




                    Jintao Zhang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                    Check out our Code of Conduct.





                    New contributor





                    Jintao Zhang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                    Check out our Code of Conduct.






                    Jintao Zhang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                    Check out our Code of Conduct.























                        -1














                        If you just want to SEE the passwords and other info and not edit, and you prefer doing things gui style, in a terminal window type:



                        sudo nautilus


                        then enter password at the prompt and you can navigate with the nautilus file manager to the file and read it.



                        Displaying in the terminal is more straightforward and probably more secure but some WinDOHs converts will prefer the pretty windowsy interface.






                        share|improve this answer




























                          -1














                          If you just want to SEE the passwords and other info and not edit, and you prefer doing things gui style, in a terminal window type:



                          sudo nautilus


                          then enter password at the prompt and you can navigate with the nautilus file manager to the file and read it.



                          Displaying in the terminal is more straightforward and probably more secure but some WinDOHs converts will prefer the pretty windowsy interface.






                          share|improve this answer


























                            -1












                            -1








                            -1







                            If you just want to SEE the passwords and other info and not edit, and you prefer doing things gui style, in a terminal window type:



                            sudo nautilus


                            then enter password at the prompt and you can navigate with the nautilus file manager to the file and read it.



                            Displaying in the terminal is more straightforward and probably more secure but some WinDOHs converts will prefer the pretty windowsy interface.






                            share|improve this answer













                            If you just want to SEE the passwords and other info and not edit, and you prefer doing things gui style, in a terminal window type:



                            sudo nautilus


                            then enter password at the prompt and you can navigate with the nautilus file manager to the file and read it.



                            Displaying in the terminal is more straightforward and probably more secure but some WinDOHs converts will prefer the pretty windowsy interface.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Sep 10 '18 at 12:22









                            GrowleyMonsterGrowleyMonster

                            11




                            11






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Ask Ubuntu!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f701970%2fwhere-does-networkmanager-store-wifi-passwords-on-ubuntu-15-10%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                GameSpot

                                connect to host localhost port 22: Connection refused

                                Getting a Wifi WPA2 wifi connection