-
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
apply password age settings to existing regular users #582
apply password age settings to existing regular users #582
Conversation
Can you please resolve the merge conflicts? |
I fixed the conflicts. I hope I got it all right. |
I just realized that this needs some more adjustments for accounts that have no password set at all (ssh-key login only). I was not aware that linux forces those users to create a password when max_age is reached - which is not desirable. I'll think about a workaround for this. |
This should be good to go now. |
bbc665b
to
5750ca2
Compare
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.
Code looks OK to me. When the linter and remaining CI test are green, this can be merged.
Signed-off-by: Sebastian Gumprich <[email protected]>
Signed-off-by: Sebastian Gumprich <[email protected]>
Signed-off-by: Sebastian Gumprich <[email protected]>
Signed-off-by: Sebastian Gumprich <[email protected]>
Co-authored-by: schurzi <[email protected]>
fbb7c80
to
f557d21
Compare
Signed-off-by: Sebastian Gumprich <[email protected]>
* apply password age settings to regular users * add tests for password ageing Signed-off-by: Sebastian Gumprich <[email protected]> * add debugging vars Signed-off-by: Sebastian Gumprich <[email protected]> * add tests for password ageing Signed-off-by: Sebastian Gumprich <[email protected]> * add tests for password ageing Signed-off-by: Sebastian Gumprich <[email protected]> * Apply suggestions from code review Co-authored-by: schurzi <[email protected]> * add additional condtion for regular users Signed-off-by: Sebastian Gumprich <[email protected]> Signed-off-by: Sebastian Gumprich <[email protected]> Co-authored-by: DonEstefan <[email protected]> Co-authored-by: Sebastian Gumprich <[email protected]> Co-authored-by: Sebastian Gumprich <[email protected]> Co-authored-by: schurzi <[email protected]>
This fixes #570
Before merging you might want to spend some extra thoughts on:
os_always_ignore_users
oros_ignore_users
variable. They seem to do exactly the same thing..?