Skip to content
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

existing users do not change there "chage" values if they are already existing #296

Open
LooOOooM opened this issue Jun 20, 2022 · 0 comments

Comments

@LooOOooM
Copy link
Contributor

Is your feature request related to a problem? Please describe.

[root@pldckapp00071-m ~]# puppet agent -t --environment ccs_265_ablaufende_systemuseder
...
# Maximum number of days a password may be used.
-PASS_MAX_DAYS 90
+PASS_MAX_DAYS 99999

[root@pldckapp00071-m ~]# chage -l docker_users
Last password change                                    : Jun 13, 2022
Password expires                                        : Sep 11, 2022
Password inactive                                       : never
Account expires                                         : never
Minimum number of days between password change          : 0
Maximum number of days between password change          : 90
Number of days of warning before password expires       : 14

Describe the solution you'd like
The solution would be a check through all known nun system user and non ignored users and exeute on notifiy:
chage -M VAR_MAX_AGE -m VAR_MIN_AGE -W VAR_WARN_AGE USERNAME

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant