mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-22 05:43:31 +07:00
readme
This commit is contained in:
15
README.md
15
README.md
@ -132,21 +132,6 @@ informational output during Linux PAM:
|
|||||||
|
|
||||||
access rights restrictions:
|
access rights restrictions:
|
||||||
|
|
||||||
* The default umask is changed to 027. This allows only the owner and group
|
|
||||||
to read and write to newly created files.
|
|
||||||
/etc/login.defs.security-misc
|
|
||||||
/usr/share/pam-configs/usergroups-security-misc
|
|
||||||
/etc/sudoers.d/umask-security-misc
|
|
||||||
|
|
||||||
* Enables pam_umask.so usergroups so group permissions are same as user
|
|
||||||
permissions. Debian by default uses User Private Groups (UPG).
|
|
||||||
https://wiki.debian.org/UserPrivateGroups
|
|
||||||
/usr/share/pam-configs/usergroups-security-misc
|
|
||||||
|
|
||||||
* Create home directory on login with umask 027 using
|
|
||||||
pam_mkhomedir.so umask=027
|
|
||||||
/usr/share/pam-configs/mkhomedir-security-misc
|
|
||||||
|
|
||||||
* Removes read, write and execute access for others for all users who have
|
* Removes read, write and execute access for others for all users who have
|
||||||
home folders under folder /home by running for example
|
home folders under folder /home by running for example
|
||||||
"chmod o-rwx /home/user"
|
"chmod o-rwx /home/user"
|
||||||
|
Reference in New Issue
Block a user