diff options
author | Scott Moser <smoser@brickies.net> | 2019-03-06 20:23:35 +0000 |
---|---|---|
committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2019-03-06 20:23:35 +0000 |
commit | 7c07af289b77ce9ae2e20c6f2638a54e63f016ef (patch) | |
tree | 3e455655768905d50379e71e8c818f883b38219f /cloudinit/sources/DataSourceBigstep.py | |
parent | 43f5850767f2412c63a5e75d47598e5d0479fd25 (diff) | |
download | vyos-cloud-init-7c07af289b77ce9ae2e20c6f2638a54e63f016ef.tar.gz vyos-cloud-init-7c07af289b77ce9ae2e20c6f2638a54e63f016ef.zip |
Support locking user with usermod if passwd is not available.
In some cases, the 'passwd' command might not be available, but
'usermod' might be. In debian systems both are provided by the
'passwd' package. In Redhat/Centos passwd comes from 'passwd' package
while 'usermod' comes from `shadow-utils`
This should just support either one with no real cost other than
the check.
Diffstat (limited to 'cloudinit/sources/DataSourceBigstep.py')
0 files changed, 0 insertions, 0 deletions