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

Adds the ability to supply a non-default user, a uid, and a non-default group. #45

Merged
merged 1 commit into from
Jul 28, 2015

Conversation

seanmckinley
Copy link

For those of us unlucky enough to work in environments where users and groups aren't controlled via ldap, it's helpful to be able to specify the user and uid of users created on systems.

Also I noticed that when kibana is extracted, ownership was set to '501:games' on the /opt/kibana-4.0.1. directory. I added an exec block just to ensure permissions are set consistently.

@jlambert121
Copy link
Owner

I'm OK with allowing setting the u/g names, but I don't like setting uid. The purpose of the system parameter is to create a system user/group without having to know what uid/gids are free on an individual box. Could you remove that and squash everything into a single commit and I'll merge it?

@seanmckinley
Copy link
Author

Alright, that's fair. I didn't quite look at the system parameter until just now, and that pretty much takes care of what I was concerned about.

Good call out. I'll squash and remove the UID functionality now.

…bana-<version> has the correct ownership, as on our Centos 6.6 boxes it was ending up with a uid of 501 and a group of 'games'.
@jlambert121
Copy link
Owner

Thanks!

jlambert121 added a commit that referenced this pull request Jul 28, 2015
Adds the ability to supply a non-default user, a uid, and a non-default group.
@jlambert121 jlambert121 merged commit df2b7f4 into jlambert121:master Jul 28, 2015
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

Successfully merging this pull request may close these issues.

3 participants