diff options
author | Jim Campbell <jcampbell@gnome.org> | 2015-03-29 19:40:36 -0500 |
---|---|---|
committer | Jim Campbell <jcampbell@gnome.org> | 2015-03-29 19:40:36 -0500 |
commit | 6663dfa38ce394304c9b333a56597e7819befe11 (patch) | |
tree | 21caea5d5394312065603557ccc999190ce89876 /docs/source/siteadmin/deploying.rst | |
parent | 2715696f86ad12e133cef40226f612f0632aa0d8 (diff) | |
download | mediagoblin-6663dfa38ce394304c9b333a56597e7819befe11.tar.lz mediagoblin-6663dfa38ce394304c9b333a56597e7819befe11.tar.xz mediagoblin-6663dfa38ce394304c9b333a56597e7819befe11.zip |
docs: Switched to 'useradd', as it is a more cross-distro cmd.
'adduser' is installed on Debian-based systems by default, but is
not installed by default on Fedora-based systems. 'useradd' is
installed by default on Debian-based systems, as well. The
'useradd'-based command provides the same functionality as
'adduser' in this case, though setting up a 'system' user with
no password.
Per bug 886, I've added the '--user-group' flag, which creates a
mediagoblin group, and assigns the mediagoblin user to this
group, too.
Diffstat (limited to 'docs/source/siteadmin/deploying.rst')
-rw-r--r-- | docs/source/siteadmin/deploying.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/siteadmin/deploying.rst b/docs/source/siteadmin/deploying.rst index 9c7bab22..765c248c 100644 --- a/docs/source/siteadmin/deploying.rst +++ b/docs/source/siteadmin/deploying.rst @@ -126,7 +126,7 @@ The following command (entered as root or with sudo) will create a system account with a username of ``mediagoblin``. You may choose a different username if you wish.:: - adduser --system mediagoblin + useradd --system --user-group mediagoblin 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:: |