[PUP-8713] Would like to be able to lock (and unlock) users Created: 2016/12/13  Updated: 2018/05/21

Status: Accepted
Project: Puppet
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Normal
Reporter: Geoff Williams Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: linux, redmine, type_and_provider, user
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Team: Platform OS
QA Risk Assessment: Needs Assessment

 Description   

Overview

Would like to be able to lock and unlock user accounts using puppet (or with manual unlock).

See Summary

https://projects.puppetlabs.com/issues/219 from 8 years ago

Current workaround

Presently, users can lock a password by setting password => '*' or similar. The problem with doing this is that the user cannot then be unlocked with {{passwd -u} as the above code will have destroyed the original password.

Customer impact

While in many cases, its simple to reset a password rather then unlock it, there are cases, however-much we disapprove of them, where this could be a problem.

For example, where the password is being used remotely and is incorporated into other scripts and systems or where passwords are controlled by systems such as cyberark where the reset process is non-trivial or slow due to external process hardening.


Generated at Thu Nov 21 03:00:04 PST 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.