Skip to content

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

@LooOOooM

Description

@LooOOooM

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions