split posix and ppolicy treatment
Split posix and ppolicy expiration check
Actual behavior
When running argonaut-user-reminder
, it checks both expired posix accounts and expired ppolicy passwords and send the same email in both cases.
Expected behavior
Have the choice to run the tool for POSIX, ppolicy or both. Have specific email options for ppolicy case.
Step by step description of new behaviour
-
argonaut-user-reminder --posix
will check only posix account expiration -
argonaut-user-reminder
will use ppolicy specific email settings instead of the posix ones when ppolicy password expiration is checked
Benefits
This will allow to use both ppolicy and posix reminders without conflict
This will allow to use argonaut-user-reminder
only for ppolicy even if posix expiration dates are set, or only for posix even if ppolicies are set.
Possible Drawbacks
Users using user-reminder for ppolicy will have to adapt their configuration after updating.