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

Add docs for running unprivileged agent as existing user/group #1505

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

kilfoyle
Copy link
Contributor

@kilfoyle kilfoyle commented Nov 27, 2024

This adds docs for running Elastic Agent unprivileged mode, as a specific user or group (e.g. under an Active Directory account).

Targets: 8.x
Closes: #1503


Update to Run Elastic Agent without administrative privileges page:

screen1


Update to Command Reference elastic-agent install command --unprivileged option:

screen3


Update to Command Reference elastic-agent unprivileged command:

screen2

@kilfoyle kilfoyle requested a review from a team as a code owner November 27, 2024 17:50
Copy link

A documentation preview will be available soon.

Request a new doc build by commenting
  • Rebuild this PR: run docs-build
  • Rebuild this PR and all Elastic docs: run docs-build rebuild

run docs-build is much faster than run docs-build rebuild. A rebuild should only be needed in rare situations.

If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here.

Copy link
Contributor

mergify bot commented Nov 27, 2024

This pull request does not have a backport label. Could you fix it @kilfoyle? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-/d./d is the label to automatically backport to the /d./d branch. /d is the digit
    NOTE: backport-skip has been added to this pull request.

Copy link
Contributor

@michalpristas michalpristas left a comment

Choose a reason for hiding this comment

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

this looks good, many thanks @kilfoyle

Copy link
Contributor

@lcawl lcawl left a comment

Choose a reason for hiding this comment

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

One comment of curiosity, otherwise LGTM

docs/en/ingest-management/commands.asciidoc Show resolved Hide resolved
@kilfoyle kilfoyle merged commit bb18297 into elastic:main Dec 2, 2024
3 checks passed
mergify bot pushed a commit that referenced this pull request Dec 2, 2024
* Add docs for running unprivileged agent as existing user/group

* fixup

(cherry picked from commit bb18297)
kilfoyle added a commit that referenced this pull request Dec 3, 2024
#1513)

* Add docs for running unprivileged agent as existing user/group

* fixup

(cherry picked from commit bb18297)

Co-authored-by: David Kilfoyle <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add docs for pre-existing Active Directory user for unprivileged agent
4 participants