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

Modify run as another user #23

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

ikorzh
Copy link

@ikorzh ikorzh commented Jan 10, 2018

I checked on Debian jessie & Ubuntu xenial
If zabbix user & pm2 not equal

@rkaw92
Copy link
Member

rkaw92 commented Jan 11, 2018

Hi. I need some more context for this change. Could you describe what it aims to accomplish and why it is necessary? It seems to modify a file template only, and also contains an inconsistency in the comment: a sudo -i invocation is presented in comment only - not in the example line; which one is the user actually supposed to enter and why?

@ikorzh
Copy link
Author

ikorzh commented Jan 11, 2018

If PM2 run is not zabbix user need run sudo with -i, or not grant access to PM2 stats from PM2 user.

@ikorzh
Copy link
Author

ikorzh commented Jan 11, 2018

I add correct run UserParameter for sudo -i

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 this pull request may close these issues.

2 participants