mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-04 16:18:48 -04:00
fix permission-hardener config parsing issue
This commit is contained in:
parent
017ae18ad7
commit
dea0d9a78a
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue