diff --git a/changelog.md b/changelog.md index 4ab8b3e7d..31529bdbf 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v0.41.12](https://github.com/nextcloud/nextcloudpi/commit/392ac9c) (2017-12-17) security hardening part 2 +[v0.41.13](https://github.com/nextcloud/nextcloudpi/commit/4daac1b) (2017-12-17) security hardening part 3 + +[v0.41.12](https://github.com/nextcloud/nextcloudpi/commit/672d233) (2017-12-17) security hardening part 2 [v0.41.11](https://github.com/nextcloud/nextcloudpi/commit/b817b90) (2017-12-16) security hardening diff --git a/nextcloudpi.sh b/nextcloudpi.sh index 0d47ded64..c83c2cb73 100644 --- a/nextcloudpi.sh +++ b/nextcloudpi.sh @@ -214,21 +214,26 @@ EOF ## kernel hardening cat >> /etc/sysctl.conf </dev/null + sed -i "s|^UMASK.*|UMASK 027|" /etc/login.defs # secure mysql DBPASSWD=$( grep password /root/.my.cnf | cut -d= -f2 )