Skip to content

Instantly share code, notes, and snippets.

@barbietunnie
Created December 6, 2022 02:43
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 barbietunnie/c563550fd65554a6e48b1b8a7d800e59 to your computer and use it in GitHub Desktop.
Save barbietunnie/c563550fd65554a6e48b1b8a7d800e59 to your computer and use it in GitHub Desktop.
How to determine the user and group of a daemon in Ubuntu

How to determine the user and group of a daemon in Ubuntu

The situation occasionally arises when you need to determine the user and group a daemon such as nginx is running as on Ubuntu, you can basically run the following command:

ps aux|grep nginx|grep -v grep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment