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.
This commit is contained in:
parent
2715696f86
commit
6663dfa38c
@ -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
|
system account with a username of ``mediagoblin``. You may choose a different
|
||||||
username if you wish.::
|
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
|
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::
|
to log in as this user. To switch to this account, enter either::
|
||||||
|
Loading…
x
Reference in New Issue
Block a user