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

Non-consistent naming for system user #417

Open
ldvc opened this issue Oct 12, 2023 · 1 comment
Open

Non-consistent naming for system user #417

ldvc opened this issue Oct 12, 2023 · 1 comment

Comments

@ldvc
Copy link

ldvc commented Oct 12, 2023

Hi there, while working on deploying otelcol, I figured out that dedicated user for running otelcol binary is not very consistent.

Installing the Debian package:

  • otelcol => create user otel
  • otelcol-contrib => create user otelcol-contrib
root@debian11:~# getent passwd | grep -i otel
otel:x:996:996::/home/otel:/sbin/nologin
otelcol-contrib:x:995:995::/home/otelcol-contrib:/sbin/nologin

Is there any historical reason for that? Why not using the same username for both distributions?

P.S. if needed I can try to work on a PR for normalizing this.

@jpkrohling
Copy link
Member

I guess I'm guilty of this one. What I had in mind back then is that we could have two instances of the collector running on the same machine, each instance using a specific distribution. On that case, it could be useful to have each distribution to have its own user, but I can accept arguments that they should be the same.

I would have a different opinion about other distributions though: a third-party distribution should definitely specify its own user.

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

No branches or pull requests

2 participants