Public bug reported:

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  )

** Affects: network-manager (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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)
  
- (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  )

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855307

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1855307/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to