Vyos1.3 Set user password error

Version:          VyOS 1.3-rolling-202003260634
Built by:         autobuild@vyos.net
Built on:         Thu 26 Mar 2020 06:34 UTC
Build UUID:       e4df2953-eb31-4e00-ac43-0951b3215ad1
Build Commit ID:  9a94f97b5203be

Architecture:     x86_64
Boot via:         installed image
System type:      bare metal
set sys login user xiaomi authentication plaintext-password 'dfdsacQh&2H'
commit
[ system login ]
usermod: failure while writing changes to /etc/shadow

[edit]

Hi viclv,

I have not tried with that version, but I have tried with a previous Rolling version and with the very latest one and I cannot find that problem.

You may want to try with the latest version:

https://docs.vyos.io/en/latest/image-mgmt.html#update-vyos

vyos@Q-vyos1.3# set system login user test authentication plaintext-password n%KCDMcQh&2H
[edit]
vyos@Q-vyos1.3# commit
[ system login ]
usermod: failure while writing changes to /etc/shadow

[edit]
vyos@Q-vyos1.3:~$ sh version 
Version:          VyOS 1.3-rolling-202004010117
Built by:         autobuild@vyos.net
Built on:         Wed 01 Apr 2020 01:17 UTC
Build UUID:       463ee274-539d-40ba-baa8-7214d97180af
Build Commit ID:  c4345fc582b6de

Architecture:     x86_64
Boot via:         installed image
System type:      bare metal

Hardware vendor:  HP
Hardware model:   ProLiant DL360 G5
Hardware S/N:     CN7812A4AM
Hardware UUID:    34353739-3236-434e-3738-31324134414d

Copyright:        VyOS maintainers and contributors

Which permissions does the file show?

ls -l /etc/shadow

image

Mmmm…

Did you check the logs? Maybe we can get some info there. I mean the logs of the exact time you run the problematic command.

Did you find that error somewhere else?
Any other command works ok?
Was the installation ok? Everything as standard and without errors?

I can confirm this bug on VyOS 1.3-rolling-202004050117. Seems related with &2 in plaintext-password

THX。。
It should be like this