Can't run modules as other users on windows
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
I can't use the -u or -user or --uid flags on windows, as it states its not supported.
I've got PM2 set up as a service, but I can't seem to change any subsequently started modules to use that service user to start them up.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the CLI handling for the -u, -user, and --uid flags and how PM2 starts modules under its Windows service. Determine the supported way to select the service user on Windows, then verify that subsequently started modules run under that user rather than being rejected as unsupported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100