diff options
author | Igor Galić <me+github@igalic.co> | 2019-11-26 17:44:21 +0100 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2019-11-26 09:44:21 -0700 |
commit | b6055c40189afba323986059434b8d8adc85bba3 (patch) | |
tree | 8dcfe0b90986f11a056fcd03403e8f3495dd679d /tools/build-on-freebsd | |
parent | 250a3f92473feeb2689f3a214e8f1b79fa419334 (diff) | |
download | vyos-cloud-init-b6055c40189afba323986059434b8d8adc85bba3.tar.gz vyos-cloud-init-b6055c40189afba323986059434b8d8adc85bba3.zip |
set_passwords: support for FreeBSD (#46)
Allow setting of user passwords on FreeBSD
The www/chpasswd utility which we depended on for FreeBSD installations
does *not* do the same thing as the equally named Linux utility.
For FreeBSD, we now use the pw(8) utility (which can only process one
user at a time)
Additionally, we abstract expire passwd into a function, and override it
in the FreeBSD distro class.
Co-Authored-By: Chad Smith <chad.smith@canonical.com>
Diffstat (limited to 'tools/build-on-freebsd')
-rwxr-xr-x | tools/build-on-freebsd | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/build-on-freebsd b/tools/build-on-freebsd index 8ae64567..876368a9 100755 --- a/tools/build-on-freebsd +++ b/tools/build-on-freebsd @@ -18,7 +18,6 @@ py_prefix=$(${PYTHON} -c 'import sys; print("py%d%d" % (sys.version_info.major, depschecked=/tmp/c-i.dependencieschecked pkgs=" bash - chpasswd dmidecode e2fsprogs $py_prefix-Jinja2 |