-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#69) Stopped managing /etc/security/opasswd in this module
The file will now be managed within the SIMP PAM module. Fixes #69
- Loading branch information
1 parent
0b4f36e
commit 4420c64
Showing
6 changed files
with
35 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
* Tue Feb 06 2024 Mike Riddle <[email protected]> - 1.0.0 | ||
- Stopped controlling /etc/security/opasswd through this module in favor of the SIMP PAM module | ||
|
||
* Mon Oct 23 2023 Steven Pritchard <[email protected]> - 0.10.0 | ||
- [puppetsync] Add EL9 support | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,17 +3,16 @@ | |
# author: SIMP Team <[email protected]> | ||
# | ||
class useradd::passwd { | ||
|
||
# CCE-26953-0 | ||
# CCE-26856-5 | ||
# CCE-26868-0 | ||
file { [ | ||
'/etc/passwd', | ||
'/etc/passwd-' | ||
]: | ||
owner => 'root', | ||
group => 'root', | ||
mode => '0644' | ||
'/etc/passwd', | ||
'/etc/passwd-', | ||
]: | ||
owner => 'root', | ||
group => 'root', | ||
mode => '0644', | ||
} | ||
|
||
# CCE-26947-2 | ||
|
@@ -22,33 +21,28 @@ | |
# CCE-27026-4 | ||
# CCE-26975-3 | ||
# CCE-26951-4 | ||
file { [ | ||
'/etc/shadow', | ||
'/etc/shadow-', | ||
'/etc/gshadow', | ||
'/etc/gshadow-' | ||
]: | ||
owner => 'root', | ||
group => 'root', | ||
mode => '0000' | ||
file { | ||
[ | ||
'/etc/shadow', | ||
'/etc/shadow-', | ||
'/etc/gshadow', | ||
'/etc/gshadow-', | ||
]: | ||
owner => 'root', | ||
group => 'root', | ||
mode => '0000', | ||
} | ||
|
||
# CCE-26822-7 | ||
# CCE-26930-8 | ||
# CCE-26954-8 | ||
file { [ | ||
'/etc/group', | ||
'/etc/group-' | ||
]: | ||
owner => 'root', | ||
group => 'root', | ||
mode => '0644' | ||
file { | ||
[ | ||
'/etc/group', | ||
'/etc/group-', | ||
]: | ||
owner => 'root', | ||
group => 'root', | ||
mode => '0644', | ||
} | ||
|
||
file { '/etc/security/opasswd': | ||
owner => 'root', | ||
group => 'root', | ||
mode => '0600' | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters