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

Please add an option to specify the desired shell to pass to the su command #260

Closed
julian-hg opened this issue Nov 28, 2014 · 2 comments
Closed

Comments

@julian-hg
Copy link

Please add an option to specify the desired shell to pass to the su command.

The specific user account I use for monitoring purposes have a default shell of /sbin/nologin, so under RHEL6 the su command exits with an error of 'This account is currently not available'

@martinb3
Copy link
Contributor

martinb3 commented Jul 7, 2015

Hello! Are you referring to the init script's usage of su? We've re-written the cookbook using libraries that expose resources and providers. We've separated out the service functionality into an elasticsearch_service resource, which you might choose to skip in favor of your own, which you could completely customize. We currently run as a specific elasticsearch user, so I'm not sure it makes sense to add this functionality for the general case. We'll likely eventually be moving to the packaged, elasticsearch.org-sourced init scripts, too (in #321).

@martinb3 martinb3 closed this as completed Jul 7, 2015
@martinb3
Copy link
Contributor

Hi folks -- could you try the 2.0.0_wip branch of this cookbook, and report back any issues in #321? It has the same init scripts now as the packaged version of ES; it's our goal to release a 2.0.0 version that works with ES 2.0.0. It does have some changes from the current version, but depending on how complex your resource usage is, you may or may not be affected. Thanks!

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

2 participants