If we add system-user via cloud-init (cloud.conf) in gadget snap,
we cannot login the UC20 system if setting 'expire: True',
-----------------------------------------------------
#cloud-config
ssh_pwauth: True
users:
- name: iotuc
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
chpasswd:
list: |
iotuc:iotuc
expire: True
-----------------------------------------------------
It will show below error message as well
-----------------------------------------------------
New password:
/var/cache/cracklib/cracklib_dict.pwd.gz: No such file or directory
BAD PASSWORD: The password fails the dictionary check - error loading dictionary
-----------------------------------------------------
Update
If we add system-user via cloud-init (cloud.conf) in gadget snap, ------- ------- ------- ------- ------- ------- ---- ------- ------- ------- ------- ------- ------- ----
we cannot login the UC20 system if setting 'expire: True',
-------
#cloud-config
ssh_pwauth: True
users:
- name: iotuc
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
chpasswd:
list: |
iotuc:iotuc
expire: True
-------
It will show below error message as well
------- ------- ------- ------- ------- ------- ------- ---- cracklib/ cracklib_ dict.pwd. gz: No such file or directory ------- ------- ------- ------- ------- ------- ----
New password:
/var/cache/
BAD PASSWORD: The password fails the dictionary check - error loading dictionary
-------