This commit is contained in:
Patrick Schleizer 2019-07-31 15:15:30 +00:00
parent c09fb208d1
commit 47368ae4fc
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -89,10 +89,17 @@ seeing each other's processes.
restricts access to the root account: restricts access to the root account:
* Su is restricted to only users within the sudo group which prevents users * `su` is restricted to only users within the group `sudo` which prevents
from using su to gain root access or switch user accounts. users from using `su` to gain root access or to switch user accounts.
/usr/share/pam-configs/wheel /usr/share/pam-configs/security-misc
(Which results in a change in /etc/pam.d/common-auth.) (Which results in a change in file `/etc/pam.d/common-auth`.)
* Add user `root` to group `sudo`. This is required to make above work so
login as a user in a virtual console is still possible.
debian/security-misc.postinst
* Lock user accounts after 5 failed login attempts using pam_tally2.
/usr/share/pam-configs/security-misc
* Logging into the root account from a virtual, serial, whatnot console is * Logging into the root account from a virtual, serial, whatnot console is
prevented by shipping an existing and empty /etc/securetty. prevented by shipping an existing and empty /etc/securetty.
@ -118,6 +125,7 @@ in folder /home so users who wish to relax file permissions are free to do so.
This is to protect previously created files in user home folder which were This is to protect previously created files in user home folder which were
previously created with lax file permissions prior installation of this previously created with lax file permissions prior installation of this
package. package.
debian/security-misc.postinst
access rights relaxations: access rights relaxations: