Fix bad useradd argument

fedora/37
Jason Rhinelander 1 year ago
parent 932993c935
commit 9119c1b45d
No known key found for this signature in database
GPG Key ID: C4992CE7A88D4262

@ -117,7 +117,7 @@ if ! getent group _loki >/dev/null; then
groupadd --system _loki
fi
if ! getent passwd _lokinet >/dev/null; then
useradd --badnames --system --home-dir /var/lib/lokinet --group _loki --comment "Lokinet system user" _lokinet
useradd --badname --system --home-dir /var/lib/lokinet --group _loki --comment "Lokinet system user" _lokinet
fi
# Make sure the _lokinet user is part of the _loki group (in case it already existed)

Loading…
Cancel
Save