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

deactivate pw_max_age #58

Closed
JannikZed opened this issue Oct 27, 2014 · 3 comments
Closed

deactivate pw_max_age #58

JannikZed opened this issue Oct 27, 2014 · 3 comments

Comments

@JannikZed
Copy link

HI,
is it possible, to completely deactivate the pw_max_age security feature? We don't use passwords anyway. As an alternative we could set an maximum password age (maybe something around 10 years?)

@atomic111
Copy link
Member

Hi,
thank you for your issue. Please use the cookbook attribute and set it to -1. Here a snippet from the login.defs manpage

PASS_MAX_DAYS (number) 
The maximum number of days a password may be used. If the password is older than this, a password change will be forced. If not specified, -1 will be assumed (which disables the restriction). 

@chris-rock
Copy link
Member

@JannikZed can we close this?

@JannikZed
Copy link
Author

Yes, everything works fine

rollbrettler pushed a commit to rollbrettler/chef-os-hardening that referenced this issue Sep 16, 2016
remove options that only apply to SSH protocol version 1
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

3 participants