From 6663dfa38ce394304c9b333a56597e7819befe11 Mon Sep 17 00:00:00 2001 From: Jim Campbell Date: Sun, 29 Mar 2015 19:40:36 -0500 Subject: [PATCH] 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. --- docs/source/siteadmin/deploying.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::