Skip to content

Commit

Permalink
Replace adduser with useradd
Browse files Browse the repository at this point in the history
  • Loading branch information
ihmels committed Apr 7, 2023
1 parent 27e8251 commit ae81daa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ go build

2) Move the acme-dns executable from `~/go/bin/acme-dns` to `/usr/local/bin/acme-dns` (Any location will work, just be sure to change `acme-dns.service` to match).

3) Create a minimal acme-dns user: `sudo adduser --system --gecos "acme-dns Service" --disabled-password --group --home /var/lib/acme-dns acme-dns`.
3) Create a minimal acme-dns user: `sudo useradd --system --comment "acme-dns Service" --user-group --create-home --home /var/lib/acme-dnsacme-dns`

4) Move the systemd service unit from `acme-dns.service` to `/etc/systemd/system/acme-dns.service`.

Expand Down

0 comments on commit ae81daa

Please sign in to comment.