mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-24 10:06:25 +07: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() {
|
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
|
local passwd_file_contents_temp
|
||||||
# Query contents of password and group databases only once and buffer them
|
# Query contents of password and group databases only once and buffer them
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user