Compare commits
2 commits
b960cbb494
...
d4a18461ca
Author | SHA1 | Date | |
---|---|---|---|
d4a18461ca | |||
3ea402048f |
2 changed files with 6 additions and 1 deletions
|
@ -62,10 +62,15 @@ sourcezap is available
|
||||||
|
|
||||||
The most recent version of sourcezap can be installed via git:
|
The most recent version of sourcezap can be installed via git:
|
||||||
|
|
||||||
|
# Clone
|
||||||
user@localhost$ git clone https://git.hardenedbsd.org/0x1eef/sourcezap.git
|
user@localhost$ git clone https://git.hardenedbsd.org/0x1eef/sourcezap.git
|
||||||
user@localhost$ cd sourcezap
|
user@localhost$ cd sourcezap
|
||||||
|
|
||||||
|
# Install
|
||||||
root@localhost# make install
|
root@localhost# make install
|
||||||
root@localhost# setup-sourcezap
|
root@localhost# setup-sourcezap
|
||||||
|
|
||||||
|
# Add user to '_sourcezap' group
|
||||||
root@localhost# pw groupmod -n _sourcezap -m <user>
|
root@localhost# pw groupmod -n _sourcezap -m <user>
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
|
@ -10,4 +10,4 @@ mode=u=rwX,g=rX,o=
|
||||||
# main
|
# main
|
||||||
doas -n \
|
doas -n \
|
||||||
-u _sourcezap \
|
-u _sourcezap \
|
||||||
/bin/sh -c "umask ${mode}; ${git} ${@}"
|
/bin/sh -c "umask ${mode}; ${git} ${*}"
|
||||||
|
|
Loading…
Reference in a new issue