RHEL doesn’t have a disabled-login option, creates an eponymous group automatically, and doesn’t create home directory for system users.

This commit is contained in:
x4u 2023-10-24 23:47:34 +00:00
parent 3bfdae795d
commit 86cf52dbff

View file

@ -78,10 +78,14 @@ cross build --release --no-default-features --features conduit_bin,backend_rocks
While Conduit can run as any user it is usually better to use dedicated users for different services. This also allows
you to make sure that the file permissions are correctly set up.
In Debian or RHEL, you can use this command to create a Conduit user:
You can use this command to create a Conduit user:
```bash
sudo adduser --system conduit --group --disabled-login --no-create-home
#Debian
$ sudo adduser --system conduit --group --disabled-login --no-create-home
#RHEL
$ sudo adduser --system conduit -s /sbin/nologin
```
## Forwarding ports in the firewall or the router