[CHANGE] Switch to adduser for Ubuntu

This will create the users' hoe directory and make it a no-login user in one command.
This commit is contained in:
Peter Pfeufer 2023-12-17 17:42:08 +01:00
parent 20fcf5efa4
commit 84e2107b62
No known key found for this signature in database
GPG Key ID: 6051D2C6AD4EBC27

View File

@ -281,7 +281,7 @@ For security and permissions, its highly recommended you create a separate us
:::{group-tab} Ubuntu 2004, 2204
```shell
sudo useradd -s /bin/bash allianceserver
sudo adduser --disabled-login allianceserver
```
:::