From f055b4750753b302315be1405937f25f6d2dae3b Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sat, 8 Mar 2014 12:38:41 -0600 Subject: [PATCH] Explicitly use /bin/bash even if shell is /bin/false --- docs/source/siteadmin/deploying.rst | 4 ++-- 1 file 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:: -- 2.25.1