Skip to content
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

Create home directory for pkiuser #4501

Closed
edewata opened this issue Jul 14, 2023 · 0 comments · Fixed by #4763
Closed

Create home directory for pkiuser #4501

edewata opened this issue Jul 14, 2023 · 0 comments · Fixed by #4763

Comments

@edewata
Copy link
Contributor

edewata commented Jul 14, 2023

Currently the pkiuser does not have a home directory. A home directory could be useful for the followings:

  • storing temporary files (e.g. password file) that should only be accessible by pkiuser
  • storing SoftHSM tokens belonging to pkiuser
  • storing admin certs and keys for PKI server instances belonging to pkiuser
  • storing systemd user services

Ultimately this will allow non-root users to run pkispawn to create a PKI server with limited privileges.

edewata added a commit to edewata/pki that referenced this issue Jun 3, 2024
The RPM spec has been modified to create a home directory for
the default PKI user if it does not exist. The home directory
can be used to store files that should be owned/accessible by
PKI user (e.g. SoftHSM tokens, systemd user services) so they
cannot be stored in root user's home directory.

dogtagpki#4501
edewata added a commit to edewata/pki that referenced this issue Jun 4, 2024
The RPM spec has been modified to create a home directory for
the default PKI user if it does not exist. The home directory
can be used to store files that should be owned/accessible by
PKI user (e.g. SoftHSM tokens, systemd user services) so they
cannot be stored in root user's home directory.

dogtagpki#4501
edewata added a commit that referenced this issue Jun 4, 2024
The RPM spec has been modified to create a home directory for
the default PKI user if it does not exist. The home directory
can be used to store files that should be owned/accessible by
PKI user (e.g. SoftHSM tokens, systemd user services) so they
cannot be stored in root user's home directory.

#4501
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 a pull request may close this issue.

1 participant