On 2020-07-23 09:45, Ed Greshko wrote: > On 2020-07-23 09:20, Sam Varshavchik wrote: >> I'm trying to save an OpenVPN password via nmcli, in Fedora 32. I believe I should be executing: >> >> nmcli connection modify CONNECTIONNAME vpn.secrets "password=[PASSWORD]" >> >> So I execute this as root, and this initially produces very promising noises in /var/log/messages: >> >> Jul 22 20:41:35 jack NetworkManager[1525]: <info> [1595464895.3350] audit: op="connection-update" uuid="UUID" name="CONNECTIONNAME" args="vpn.secrets" pid=67812 uid=0 result="success" >> >> However, the password appears to disappear into a black hole: >> >> nmcli --show-secrets connection CONNECTIONNAME | grep secrets >> vpn.secrets: -- >> >> And nmcli connection up fails because there's no password. >> >> The VPN connection's configuration was imported from the VPN provider's supplied ovpn file, via "nmcli connection import". >> >> Some searching around found some hits suggesting that my /etc/NetworkManager/system-connections/CONNECTIONNAME should have a [vpn-secrets] section, but mine does not. If I add it, run "nmcli connection reload", "nmcli connection modify", that just removes the [vpn-secrets] section. >> >> What would be the right way to do this? > When you do.... > > nmcli connection show CONNECTNAME > > What is the value of > > 802-11-wireless-security.psk-flags? > Also, what is the value of... 802-11-wireless-security.key-mgmt -- The key to getting good answers is to ask good questions. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx