Add libexec/portzap/portzap-adduser
This commit is contained in:
parent
7a22d2a9a5
commit
5dc23097b9
1 changed files with 8 additions and 0 deletions
8
libexec/portzap/portzap-adduser
Executable file
8
libexec/portzap/portzap-adduser
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
pw useradd -n _portzap \
|
||||
-c "portzap user" \
|
||||
-m \
|
||||
-M "u=rwx,g=rwx,o=" \
|
||||
-s /sbin/nologin
|
||||
echo "/home/_portzap/ has been created."
|
Loading…
Reference in a new issue