Fix bad useradd argument

pull/2090/head
Jason Rhinelander 1 year ago
parent f24702b291
commit e82540852a
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