This commit is contained in:
parent
712a9a7bd2
commit
56089665a7
2 changed files with 8 additions and 1 deletions
|
@ -21,7 +21,7 @@ else
|
||||||
-n "${user}" \
|
-n "${user}" \
|
||||||
-c "sourcezap user" \
|
-c "sourcezap user" \
|
||||||
-m \
|
-m \
|
||||||
|
-M $("${libexec}"/scripts/get-default-umask) \
|
||||||
-s /sbin/nologin
|
-s /sbin/nologin
|
||||||
chmod u=rwX,g=rX,o= /home/"${user}"/
|
|
||||||
printok "${user} user created"
|
printok "${user} user created"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
# -*- mode: org -*-
|
# -*- mode: org -*-
|
||||||
|
|
||||||
|
* vNEXT
|
||||||
|
|
||||||
|
**** Replace chmod with -M switch
|
||||||
|
This change replaces chmod with the -M switch. The -M switch
|
||||||
|
is given to the ~pw useradd~ command in the ~setup-user~
|
||||||
|
script
|
||||||
|
|
||||||
* v1.2.0
|
* v1.2.0
|
||||||
|
|
||||||
**** Fix ~libexec/sourcezap/scripts/setup-doas~ bug
|
**** Fix ~libexec/sourcezap/scripts/setup-doas~ bug
|
||||||
|
|
Loading…
Reference in a new issue