Merge branch 'main' of github.com:dredx/prole

This commit is contained in:
chrisfu 2026-01-30 23:40:49 -08:00
commit ed39bac75c
14 changed files with 4 additions and 1305 deletions

View File

@ -1,7 +0,0 @@
docker run --rm -it --hostname=prole_ubuntu_base \
--env=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
--volume=/Users/chrisfu/dev/prole/data:/data \
--network=bridge \
--entrypoint bash \
--restart=no \
arm64v8/ubuntu:24.04

View File

@ -96,6 +96,10 @@ for user in "${USERS[@]}"; do
# membership first
"${SUDO[@]}" samba-tool group addmembers "${GROUP}" "${user}" >/dev/null 2>&1 || true
# ensure password never expires
"${SUDO[@]}" samba-tool user setexpiry "${user}" --noexpiry >/dev/null
"${SUDO[@]}" samba-tool user setpassword "${user}" --must-change-at-next-login=no
# now set the final (possibly weak) password under the PSO
echo " set final password for ${user}"
"${SUDO[@]}" samba-tool user setpassword "${user}"

File diff suppressed because it is too large Load Diff