Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JetBrains/runAs
The tool to run command under a specified user account on Windows.
https://github.com/JetBrains/runAs
elevated-rights privileges runas user-account-control user-accounts windows
Last synced: 3 months ago
JSON representation
The tool to run command under a specified user account on Windows.
- Host: GitHub
- URL: https://github.com/JetBrains/runAs
- Owner: JetBrains
- License: apache-2.0
- Created: 2016-06-24T09:44:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-22T12:23:47.000Z (over 5 years ago)
- Last Synced: 2024-05-05T04:21:19.259Z (6 months ago)
- Topics: elevated-rights, privileges, runas, user-account-control, user-accounts, windows
- Language: C++
- Homepage:
- Size: 290 KB
- Stars: 70
- Watchers: 18
- Forks: 26
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# runAs
## runas .NET Core Global Tool [![NuGet](https://buildstats.info/nuget/dotnet-runas?includePreReleases=true)](https://www.nuget.org/packages/dotnet-runas) [![JetBrains incubator project](http://jb.gg/badges/incubator.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
The _runas_ [.NET Core Global Tool](https://docs.microsoft.com/en-us/dotnet/core/tools/global-tools) allows to run a dotnet process under a specified user account. This tool is compatible with any dotnet CLI commands but the most obvious scenario is running dotnet tests:
- to install the _runas_ tool, run the command line `dotnet tool install -g dotnet-runas`
- run tests under a specified user account like `dotnet runas -u:username -p:password test`
- to uninstall the _runas_ tool, run the command line `dotnet tool uninstall -g dotnet-runas`
For Windows operation system it is possible to specify elevated permissions and [other parameters](https://github.com/JetBrains/runAs/wiki/runAs-tool).
:construction: For Linux and OSX operation systems _username_ and _password_ paramers are available.
## [ plugin](https://github.com/JetBrains/teamcity-runas-plugin) [](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
When building, testing, and deploying an application with TeamCity, you may need to run a build under a specific user account, different from the one used to run the build agent. The [teamcity-runas plugin](https://github.com/JetBrains/teamcity-runas-plugin) can be used to run TeamCity build steps under a specified user account on Windows, Mac or Linux.
## [runAs tool](https://github.com/JetBrains/runAs/wiki/runAs-tool) for windows [![NuGet](https://buildstats.info/nuget/JetBrains.runAs)](https://www.nuget.org/packages/JetBrains.runAs) [![JetBrains incubator project](http://jb.gg/badges/incubator.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
The [runAs tool](https://github.com/JetBrains/runAs/wiki/runAs-tool) provides the ability to run a Windows process under a specified Windows user account.
### Downloads
* [x64 runAs tool](https://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:TeamCityPluginsByJetBrains_TeamCityRunAs_CltForWindows,pinned:true,status:SUCCESS,branch:master,tags:release/artifacts/content/bin/x64/JetBrains.runAs.exe)
* [x86 runAs tool](https://teamcity.jetbrains.com/httpAuth/app/rest/builds/buildType:TeamCityPluginsByJetBrains_TeamCityRunAs_CltForWindows,pinned:true,status:SUCCESS,tags:release/artifacts/content/bin/x86/JetBrains.runAs.exe)
[](http://teamcity.jetbrains.com/viewType.html?buildTypeId=TeamCityPluginsByJetBrains_TeamCityRunAs_CltForWindows&guest=1)