Skip to content

Commit

Permalink
Merge pull request #462 from d-line/master
Browse files Browse the repository at this point in the history
some commands require root privileges to run
  • Loading branch information
matt swanson authored Sep 18, 2017
2 parents 4cfad09 + 77e6453 commit 43d85b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/VPS.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ Create your stringer user

We will run stringer as it's own user for security, also we will be installing a specific version of ruby to stringer user's home directory, this saves us worrying whether the version of ruby and some dependencies provided by your distro are compatible with Stringer.

useradd stringer -m -s /bin/bash
su -l stringer
sudo useradd stringer -m -s /bin/bash
sudo su -l stringer

Always use -l switch when you switch user to your stringer user, without it your modified .bash_profile or .profile file will be ignored.

Expand Down

0 comments on commit 43d85b7

Please sign in to comment.