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

Allow server to be installed as other user then root #216

Merged

Conversation

jvanbaarsen
Copy link
Contributor

Sometimes you don't want your server to run as root user, this PR adds a way to
set the user when creating a new server. To make it simple for "normal" usage,
we default to root.

Fixes: #94

<div class="control">
<%= f.text_field :name, class: "input", placeholder: "Name",
data: { error: @server.errors[:name].first } %>
</div>

<%= f.label :name, class: "label", value: "Username for the root user" %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the label should als have the :username name.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch

Sometimes you don't want your server to run as root user, this PR adds a way to
set the user when creating a new server. To make it simple for "normal" usage,
we default to root.

Fixes: intercity#94
@jvanbaarsen jvanbaarsen force-pushed the allow-other-user-then-root branch from 49fd931 to a19df58 Compare November 23, 2016 15:23
@jvanbaarsen jvanbaarsen merged commit 0bb8f02 into intercity:master Nov 23, 2016
@jvanbaarsen jvanbaarsen deleted the allow-other-user-then-root branch November 23, 2016 15:29
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.

2 participants