mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
fix permission-hardener config parsing issue
This commit is contained in:
parent
017ae18ad7
commit
dea0d9a78a
@ -469,6 +469,11 @@ set_file_perms() {
|
||||
}
|
||||
|
||||
parse_config_folder() {
|
||||
touch /var/lib/permission-hardening/private/passwd
|
||||
chmod og-rwx /var/lib/permission-hardening/private/passwd
|
||||
touch /var/lib/permission-hardening/private/group
|
||||
chmod og-rwx /var/lib/permission-hardening/private/group
|
||||
|
||||
local passwd_file_contents_temp
|
||||
# Query contents of password and group databases only once and buffer them
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user