RHEL 7 boxes problem with invalid user shells
tbielawa opened this issue · comments
Reported externally by @tremble:
On RHEL7 I'm getting the following error caused by jsonstats modules:
Error: Shell /bin/nologin must exist
Error: /Stage[main]/Rhusers/Rhusers::User[jsonstatsd]/User[jsonstatsd]/ensure: change from absent to present failed: Shell /bin/nologin must exist
This is an easy two-part fix.
- Internally, we need to update the
jsonstats
user account to point at a valid shell - In the jsonstats package we need to be sure the shell is also valid