mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 15:44:33 +00:00
Merge branch 'main' of github.com:dredx/prole
This commit is contained in:
commit
ed39bac75c
@ -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
|
||||
@ -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}"
|
||||
|
||||
1298
retropie_facts.json
1298
retropie_facts.json
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user