blob: af4ae0d18c5135c68bfc0c4cccd6aba54781f3a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
### used to generate random passwords
echo '#!/bin/bash'
echo ""
echo 'cat \'
for i in CONSOLE GUI CLIENT MONITOR
do
echo ' |' sed s/${i}_PW/$(echo $i:$(date +%s) | sha256sum | base64 | head -c 20 ; echo)/ \\
done
|