diff options
| author | cassio <cassiopc@gmail.com> | 2015-09-07 16:26:39 +0000 |
|---|---|---|
| committer | cassio <cassiopc@gmail.com> | 2015-09-07 16:26:39 +0000 |
| commit | 64143437a294aa4e0e94d60e79ba3ac677c40e5b (patch) | |
| tree | 06f960296cae00337f96d621c53b134f3c04bea3 /tools | |
| parent | 3443e44388376b2632daaa056a5d826506ccf208 (diff) | |
| download | boca-64143437a294aa4e0e94d60e79ba3ac677c40e5b.tar.gz boca-64143437a294aa4e0e94d60e79ba3ac677c40e5b.zip | |
security fix and staff restrictions
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/installv2.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/installv2.sh b/tools/installv2.sh index e75f2e9..db2aa96 100755 --- a/tools/installv2.sh +++ b/tools/installv2.sh @@ -289,6 +289,11 @@ if [ $? != 0 ]; then sed "s/errors=remount-ro/quota,errors=remount-ro/" < /etc/fstab.bkp.$di.1 > /etc/fstab fi +grep -q icpcadmin /etc/ssh/sshd_config +if [ "$?" != "0" ]; then + echo "DenyUsers icpc icpcadmin" >> /etc/ssh/sshd_config +fi + echo "============================================================" echo "===================== SETTING UP USER QUOTA ===============" echo "============================================================" |