Re: nmcli won't save VPN password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ed Greshko writes:


What also needs to be documented, or I need to get better at searching, is what are the possible values
for "option" when doing a modify of vpn.secrets and flags=1.

"help" was of no "help".

Error: failed to modify vpn.secrets: 'help' is not valid; use <option>=<value>.

I was able to figure out that part. Searching for "nmcli save vpn password" gives https://unix.stackexchange.com/questions/335999/use-nmcli-to-modify- vpn-password as the second result, that shows this incantation, but without password-flags set correctly, this does nothing, and, most importantly, without providing any kind of feedback to the user. The command just exits quietly, without any diagnostic.

There were a bunch of hits that said to manually add [vpn-secrets], like https://serverfault.com/questions/816714/how-do-i-supply-a-password-to- networkmanager-openconnect-automatically and looking at mine's, that's where the password is. But unless

password-flags=0

also exists in the [vpn] section, this does nothing. Either one of two things would've made things smoother: either better documentation, or better feedback from "nmcli connection modify", something other than quietly returning without any messages, but doing nothing.

Attachment: pgpOMF2i2Ihfd.pgp
Description: PGP signature

_______________________________________________
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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux