Compare commits

..

No commits in common. "d449bcc1b493deb674422263a401fadce59cebeb" and "2b65970db6afef30d03411b8784df541e04efa01" have entirely different histories.

3 changed files with 3 additions and 14 deletions

View file

@ -14,8 +14,8 @@ libexec="${localbase}"/libexec/portzap
## ##
# main # main
if [ "$(id -u)" = "0" ]; then if [ "$(id -u)" = "0" ]; then
"${libexec}"/scripts/setup-user "${libexec}"/setup/setup-user
"${libexec}"/scripts/setup-doas "${libexec}"/setup/setup-doas
printok "setup complete" printok "setup complete"
else else
printerr "you must be root" printerr "you must be root"

View file

@ -21,7 +21,7 @@ else
-n "${user}" \ -n "${user}" \
-c "portzap user" \ -c "portzap 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

View file

@ -1,16 +1,5 @@
# -*- mode: org -*- # -*- mode: org -*-
* vNEXT
**** Fix typo in ~commands/portzap-setup~
This change fixes a typo that would throw an error when
running the ~portzap setup~ command
**** 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
**** Change default clone url **** Change default clone url