Skip to content

Commit

Permalink
Fix #40: Shadow utils checks are not possible to maintain with curren…
Browse files Browse the repository at this point in the history
…t requirements.
  • Loading branch information
Samson-W committed Jun 17, 2023
1 parent ee6cb27 commit 195ec74
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions bin/hardening/12.12_etc_group_backup_permissions.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

#
# harbian-audit for Debian GNU/Linux 7/8/9 or CentOS 8 Hardening
# harbian-audit for Debian GNU/Linux 7/8/9/10/11/12 or CentOS 8 Hardening
#

#
Expand All @@ -15,7 +15,7 @@ set -u # One variable unset, it's over
HARDENING_LEVEL=1

FILE='/etc/group-'
PERMISSIONS='600'
PERMISSIONS='644'
USER='root'
GROUP='root'

Expand Down
4 changes: 2 additions & 2 deletions bin/hardening/12.13_etc_gshadow_backup_permissions.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

#
# harbian-audit for Debian GNU/Linux 7/8/9 or CentOS 8 Hardening
# harbian-audit for Debian GNU/Linux 7/8/9/10/11/12 or CentOS 8 Hardening
#

#
Expand All @@ -15,7 +15,7 @@ set -u # One variable unset, it's over
HARDENING_LEVEL=1

FILE='/etc/gshadow-'
PERMISSIONS='600'
PERMISSIONS='640'
PERMISSIONS_CENTOS='0'
USER='root'
GROUP='shadow'
Expand Down
4 changes: 2 additions & 2 deletions bin/hardening/12.5_etc_passwd_backup_permissions.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

#
# harbian-audit for Debian GNU/Linux 7/8/9 or CentOS 8 Hardening
# harbian-audit for Debian GNU/Linux 7/8/9/10/11/12 or CentOS 8 Hardening
#

#
Expand All @@ -15,7 +15,7 @@ set -u # One variable unset, it's over
HARDENING_LEVEL=1

FILE='/etc/passwd-'
PERMISSIONS='600'
PERMISSIONS='644'
USER='root'
GROUP='root'

Expand Down
2 changes: 1 addition & 1 deletion bin/hardening/12.6_etc_shadow_backup_permissions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ set -u # One variable unset, it's over
HARDENING_LEVEL=1

FILE='/etc/shadow-'
PERMISSIONS='600'
PERMISSIONS='640'
PERMISSIONS_CENTOS='0'
USER='root'
GROUP='shadow'
Expand Down

0 comments on commit 195ec74

Please sign in to comment.