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

Max Password Age should support a value of negative one to set "Password never expires" on Linux #465

Closed
bschonec opened this issue Oct 16, 2023 · 1 comment

Comments

@bschonec
Copy link
Contributor

bschonec commented Oct 16, 2023

Use Case

'change -M -1 ' sets the password to never expire on Linux

Describe the Solution You Would Like

Currently, the $password_max_age doesn't allow a value of negative one on any platform. On Linux at least, setting the 'chage -M' parameter to negative zero will disable password expiry.

#466

@bschonec
Copy link
Contributor Author

Resolved by #466

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

No branches or pull requests

2 participants