mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
parent
1442a257e5
commit
0ed60329b8
1 changed files with 1 additions and 1 deletions
|
@ -813,11 +813,11 @@ chmod 770 -R /data
|
||||||
if [ "$myTPOT_DEPLOYMENT_TYPE" == "iso" ];
|
if [ "$myTPOT_DEPLOYMENT_TYPE" == "iso" ];
|
||||||
then
|
then
|
||||||
usermod -a -G tpot tsec
|
usermod -a -G tpot tsec
|
||||||
|
chown tsec:tsec -R /home/tsec/.ssh
|
||||||
else
|
else
|
||||||
usermod -a -G tpot $(who am i | awk '{ print $1 }')
|
usermod -a -G tpot $(who am i | awk '{ print $1 }')
|
||||||
fi
|
fi
|
||||||
chown tpot:tpot -R /data
|
chown tpot:tpot -R /data
|
||||||
chown tsec:tsec -R /home/tsec/.ssh
|
|
||||||
chmod 644 -R /data/nginx/conf
|
chmod 644 -R /data/nginx/conf
|
||||||
chmod 644 -R /data/nginx/cert
|
chmod 644 -R /data/nginx/cert
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue