Merge pull request #140 from monsieuremre/patch-3

New lines in default permission config
This commit is contained in:
Patrick Schleizer 2023-10-26 19:27:41 -04:00 committed by GitHub
commit 39fed058f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,12 +67,32 @@
###################################################################### ######################################################################
/home/ 0755 root root /home/ 0755 root root
/home/user/ 0700 user user
/root/ 0700 root root /root/ 0700 root root
/boot/ 0700 root root /boot/ 0700 root root
/etc/permission-hardening.d 0600 root root /etc/permission-hardening.d 0600 root root
/usr/local/etc/permission-hardening.d 0600 root root /usr/local/etc/permission-hardening.d 0600 root root
/lib/modules/ 0700 root root /lib/modules/ 0700 root root
/usr/src 0700 root root
/etc/cups/cupsd.conf 0400 root root
/boot/grub/grub.cfg 0600 root root
/etc/syslog.conf 0600 root root
/etc/crontab 0600 root root
/root/.ssh 0700 root root
/etc/cron.d 0700 root root
/etc/cron.daily 0700 root root
/etc/sudoers.d 0700 root root
/etc/cron.hourly 0700 root root
/etc/cron.weekly 0700 root root
/etc/cron.monthly 0700 root root
/etc/group 0644 root root
/etc/group- 0644 root root
/etc/hosts.allow 0644 root root
/etc/hosts.deny 0644 root root
/etc/issue 0644 root root
/etc/issue.net 0644 root root
/etc/motd 0644 root root
/etc/passwd 0644 root root
/etc/passwd- 0644 root root
###################################################################### ######################################################################
# SUID/SGID Removal # SUID/SGID Removal