-
Notifications
You must be signed in to change notification settings - Fork 741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make useradd defaults in login.defs dependent on OS #266
Conversation
Signed-off-by: Andre Lehmann <[email protected]>
All tabs were converted into spaces and all values were properly aligned, making the file easier to read. Signed-off-by: Andre Lehmann <[email protected]>
Signed-off-by: Andre Lehmann <[email protected]>
Signed-off-by: Andre Lehmann <[email protected]>
Signed-off-by: Andre Lehmann <[email protected]>
Thanks for these numerous improvements! :) |
@@ -27,5 +27,8 @@ os_auth_sys_uid_max: 499 | |||
os_auth_sys_gid_min: 100 | |||
os_auth_sys_gid_max: 499 | |||
|
|||
# defaults for useradd | |||
os_useradd_create_home: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aisbergg why Suse in particular has this disabled by default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aisbergg why Suse in particular has this disabled by default?
That I can't say, all I can say is that those are the defaults found in the shadow package.
Do not use bash to get ssh version
Do not use bash to get ssh version
* Add proper ansible_managed header in each template Signed-off-by: Andre Lehmann <[email protected]> * Use consistent indentation All tabs were converted into spaces and all values were properly aligned, making the file easier to read. Signed-off-by: Andre Lehmann <[email protected]> * Make useradd defaults inside login.defs dependent on OS family Signed-off-by: Andre Lehmann <[email protected]> * Remove duplicate key Signed-off-by: Andre Lehmann <[email protected]> * Replace tab with space Signed-off-by: Andre Lehmann <[email protected]>
The main purpose of this PR is to make the useradd defaults
MAIL_DIR
andCREATE_HOME
dependent on the OS (fixes: #265). Other minor changes included in this PR are:ansible_managed
header correctly in each of the templateskernel.kptr_restrict
indefaults/main.yml
introduced in Add kernel hardening parameters from Tails and CIS Benchmark #263