Goal: To disable a Solaris user, after that user was inactive for X days.
My understanding for linux was that there was no systematic way to disable inactive users, therefore we had to set a password expiration via /etc/default/passwd, MaxWeeks; then in /etc/default/useradd (/etc/shadow), the Inactive parameter would identify how many days after password expiration, a user would be disabled.
When reading Oracle Solaris documentation on user inactivity, it seems that the Inactive parameter disables a Solaris user/ID based on the number of days the account was inactive.
Oracle Solaris 11 Documentation for UserAdd
"-f inactive
The maximum number of days allowed between uses of a login ID before that ID is declared invalid. Normal values are positive integers. A value of 0 defeats the status."
Question: In Solaris, what does the "inactive" parameter in /etc/default/useradd actually do; does it actually disable inactive users after the specified number of days, or does it disable an account a specified number of days after password expiration?
Very confusing,