diff options
Diffstat (limited to 'tools/boca-fixssh')
| -rw-r--r-- | tools/boca-fixssh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/boca-fixssh b/tools/boca-fixssh index 2082022..6206a01 100644 --- a/tools/boca-fixssh +++ b/tools/boca-fixssh @@ -1,4 +1,7 @@ #!/bin/bash +chown root.root /var/log/boca-fixssh.* 2>/dev/null +chmod 600 /var/log/boca-fixssh.* 2>/dev/null + if [ "`id bocassh 2>/dev/null`" != "" ]; then if [ ! -d /var/www/boca/home/.ssh ]; then mkdir -p /var/www/boca/home/.ssh |