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

Specifying 'root' removes root login shell #53

Closed
rpattcorner opened this issue Apr 18, 2016 · 2 comments
Closed

Specifying 'root' removes root login shell #53

rpattcorner opened this issue Apr 18, 2016 · 2 comments

Comments

@rpattcorner
Copy link

rpattcorner commented Apr 18, 2016

So, if you override the default['hashicorp-vault']['service_user'] = 'vault' and decide to run as:

['hashicorp-vault']['service_user'] = 'root' via an override or whatever, you'll become unable to operate as root on next login.

Probably because the config process turns the root user into a service account. Your entry in passwd winds up looking like:

root:x:0:0:Service user for root:/root:/bin/false

@johnbellone
Copy link
Contributor

Ha, that sucks, nice catch. I'll fix that.

@johnbellone johnbellone self-assigned this Apr 19, 2016
@lock
Copy link

lock bot commented May 19, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot unassigned johnbellone May 19, 2019
@lock lock bot locked as resolved and limited conversation to collaborators May 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants