Changing "su -" to just "su"... considerably simpler.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 8 Mar 2014 18:28:23 +0000 (12:28 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 8 Mar 2014 18:28:23 +0000 (12:28 -0600)
I don't think inheriting environment stuff is a serious issue.

docs/source/siteadmin/deploying.rst

index c227b548a29329119bae4760f271af72f7d541ca..92191929c352a8ec959ccf648be93bf514447b19 100644 (file)
@@ -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 su mediagoblin  # (if you have sudo permissions)
 
 or::
 
-  su - mediagoblin (if you have to use root permissions)
+  su mediagoblin  # (if you have to use root permissions)
 
 You may get a warning similar to this when entering these commands::