commit db48d276a7b1688dba7fe3272bb89ad8372ba7da from: Omar Polo date: Mon May 02 17:48:55 2022 UTC tweaks commit - 7b27af838898f379a9140ddbcb07313f937c2f69 commit + db48d276a7b1688dba7fe3272bb89ad8372ba7da blob - 5301e2009c3b4aa25d845b1f5dc69bc987c0abd5 blob + a7dede22cd8b5751e4b1bbcc26c4474d8e1e9f0b --- site/quickstart.gmi +++ site/quickstart.gmi @@ -80,13 +80,19 @@ If gmid was installed from your distribution package m Ideally, gmid should be started as root and then drop privileges. This allows to save the certificates in a directory that's readable only by root -For example, on GNU/linux systems a ‘gmid’ user can be created with: +For example, on OpenBSD a ‘_gmid’ user can be created with: +``` +# useradd -c gmid -d /var/empty -s /sbin/nologin _gmid +``` + +while on most GNU/linux systems it's: + ```how to create the gmid user # useradd --system --no-create-home -s /bin/nologin -c "gmid Gemini server" gmid ``` -If you use systemd-sysusers: +or if you use systemd-sysusers: ```how to create the gmid user, using systemd-sysusers # systemd-sysusers contrib/gmid.sysusers @@ -103,7 +109,7 @@ user "gmid" server "example.com" { … } ``` -gmid then needs to be started with root privileges, but will then switch to the provided user automatically. If by accident the ‘user’ option is omitted and gmid is running as root, it will complain loudly in the logs. +Now gmid needs to be started with root privileges but will switch to the provided user automatically. If by accident the ‘user’ option is omitted and gmid is running as root, it will complain loudly in the logs. ### chroot