Password change error

A new install of NS. I’m reminded to set a password for the admin user. But I appear to have done that. I change it anyway and get an error message

* Task completed with errors

    # (exit status )

The user ‘administrator’ doesn’t have a password set so I try and get the same error and no password appears to have been created.

Any clues? Which log could I look in?

Thanks

Is there a clue here?

Jun 28 16:58:12 server esmith::event[4987]: Event: password-modify administrator@mydomain.tld /tmp/ng-XZrd5o
Jun 28 16:58:12 server esmith::event[4987]: Action: /etc/e-smith/events/password-modify/S25password-set SUCCESS [0.00572]
Jun 28 16:58:13 server esmith::event[4987]: ERROR: Failed to set password for user 'administrator': 'ascii' codec can't decode byte 0xc2 in position 0: ordinal not in range(128)
Jun 28 16:58:13 server esmith::event[4987]: Action: /etc/e-smith/events/password-modify/S30nethserver-dc-password-set FAILED: 255 [0.788466]
Jun 28 16:58:13 server esmith::event[4987]: Enabled user 'administrator'
Jun 28 16:58:13 server esmith::event[4987]: Action: /etc/e-smith/events/password-modify/S40nethserver-dc-user-unlock SUCCESS [0.490414]
Jun 28 16:58:13 server esmith::event[4987]: Action: /etc/e-smith/events/password-modify/S90password-cleanup SUCCESS [0.061066]
Jun 28 16:58:13 server esmith::event[4987]: Event: password-modify FAILED

Am I using a character in the password which NS doesn’t like?

OK, solved. I was recently at a conference and heard part of a cyber security talk for government employees. They suggested using a less well know character in passwords. So that’s what I was doing. But NethServer didn’t like that!

1 Like