Skip to content

fix: useradd in Running step-ca as a Daemon #405

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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.

@@ -366,7 +366,7 @@ Note: _This section requires a Linux OS running `systemd` version 245 or greater
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