Skip to content

Instantly share code, notes, and snippets.

@taynguyen
Last active October 25, 2021 07:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taynguyen/bc336906b11573907538cc9b935b1d65 to your computer and use it in GitHub Desktop.
Save taynguyen/bc336906b11573907538cc9b935b1d65 to your computer and use it in GitHub Desktop.
Add linux user

We can now add a user to handle the exporting of our metrics.

  • -r This user will be a system user (-r)
  • -s /bin/false who will be unable to get a shell (-s /bin/false)
sudo useradd -rs /bin/false node_exporter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment