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 Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1855307

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

Status in network-manager package in Ubuntu:
  New

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  )

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to