Skip to content

Conversation

z63d
Copy link

@z63d z63d commented Apr 9, 2025

Describe your changes:

The original useradd command does not create the /etc/step-ca directory.
sudo mv $(step path)/* /etc/step-ca gives an error.

@z63d z63d requested a review from a team as a code owner April 9, 2025 13:18
Copy link
Contributor

@tashian tashian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Just a quick suggestion.

The service user will only be used by `systemd` to manage the CA. Run:
<CodeBlock language="shell-session" copytext="sudo useradd --user-group --system --home /etc/step-ca --shell /bin/false step">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<CodeBlock language="shell-session" copytext="sudo useradd --user-group --system --home /etc/step-ca --shell /bin/false step">
<CodeBlock language="shell-session" copytext="sudo useradd --user-group --system --create-home --home /etc/step-ca --shell /bin/false step">

@z63d z63d force-pushed the fix/running-step-ca-as-a-daemon branch from d35828e to 217c022 Compare June 18, 2025 23:10
@z63d z63d requested a review from tashian June 18, 2025 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants