aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/siteadmin/deploying.rst
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2014-03-08 12:38:41 -0600
committerChristopher Allan Webber <cwebber@dustycloud.org>2014-03-08 12:38:41 -0600
commitf055b4750753b302315be1405937f25f6d2dae3b (patch)
tree205aff13c5d731f15d73b5635917dd3251ac7890 /docs/source/siteadmin/deploying.rst
parenta040f72ded6effebc3c00584ccc5a1c64a6678a4 (diff)
downloadmediagoblin-f055b4750753b302315be1405937f25f6d2dae3b.tar.lz
mediagoblin-f055b4750753b302315be1405937f25f6d2dae3b.tar.xz
mediagoblin-f055b4750753b302315be1405937f25f6d2dae3b.zip
Explicitly use /bin/bash even if shell is /bin/false
Diffstat (limited to 'docs/source/siteadmin/deploying.rst')
-rw-r--r--docs/source/siteadmin/deploying.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/siteadmin/deploying.rst b/docs/source/siteadmin/deploying.rst
index 92191929..1cf633b3 100644
--- a/docs/source/siteadmin/deploying.rst
+++ b/docs/source/siteadmin/deploying.rst
@@ -136,11 +136,11 @@ username if you wish.::
No password will be assigned to this account, and you will not be able
to log in as this user. To switch to this account, enter either::
- sudo su mediagoblin # (if you have sudo permissions)
+ sudo -u mediagoblin /bin/bash # (if you have sudo permissions)
or::
- su mediagoblin # (if you have to use root permissions)
+ su mediagoblin -s /bin/bash # (if you have to use root permissions)
You may get a warning similar to this when entering these commands::