add docs for slapd and dmzrsaccount

This commit is contained in:
2024-01-05 12:33:19 +01:00
parent 5e4f55af5b
commit 9be97947b5
18 changed files with 245 additions and 0 deletions

6
docs/slapd/generatecreds.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
GENPASS=$( echo $(shuf ../../scripts/shared/english.txt | head) | sed "s/ //g")
for i in $(cat servicesaccounts.txt) ; do printf "%s\n" $(echo -n $i | cut -d"," -f 1 | cut -d"=" -f2 ; $(GENPASS)) | gpg -e -r fram3d@dmz.rs -r sienna@dmz.rs --output $(echo -n $i | cut -d"," -f 1 | cut -d"=" -f2).gpg ; done