nmcli connection modify CONN vpn.secrets "password='xyz,abc'" breaks if password contains comma

Bug #1855307 reported by aaaa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have tried to set vpn.secrets password using:

nmcli connection modify 'ACONNECTION' vpn.secrets 'password=abc,xyz'

but it breaks because of the comma in the password.

The error is:

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

(my password was a different one but it had the pattern abc,xyz Note the error only contained xyz)

UPDATE: also see this: https://unix.stackexchange.com/questions/554298/nmcli-how-to-escape-comma-and-other-characters-for-shell-script )

aaaa (aaa123123)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.