Skip to content

Commit 217c022

Browse files
committed
fix: useradd in Running step-ca as a Daemon
Signed-off-by: Kaita Nakamura <kaita.nakamura0830@gmail.com>
1 parent 6533072 commit 217c022

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

step-ca/certificate-authority-server-production.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,8 @@ Note: _This section requires a Linux OS running `systemd` version 245 or greater
365365
366366
The service user will only be used by `systemd` to manage the CA. Run:
367367
368-
<CodeBlock language="shell-session" copytext="sudo useradd --user-group --system --home /etc/step-ca --shell /bin/false step">
369-
{`$ sudo useradd --user-group --system --home /etc/step-ca --shell /bin/false step`}
368+
<CodeBlock language="shell-session" copytext="sudo useradd --user-group --system --create-home --home /etc/step-ca --shell /bin/false step">
369+
{`$ sudo useradd --user-group --system --create-home --home /etc/step-ca --shell /bin/false step`}
370370
</CodeBlock>
371371
372372
If your CA will bind to port 443, the `step-ca` binary will need to be

0 commit comments

Comments
 (0)