https://github.com/plus3x/privilegex
https://github.com/plus3x/privilegex
c elixir hex mix travis-ci
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/plus3x/privilegex
- Owner: plus3x
- License: mit
- Created: 2016-08-29T17:58:57.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-31T09:17:37.000Z (almost 10 years ago)
- Last Synced: 2025-02-21T20:18:47.217Z (over 1 year ago)
- Topics: c, elixir, hex, mix, travis-ci
- Language: Elixir
- Size: 25.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Privilegex
===
[](https://hex.pm/packages/privilegex)
[](http://travis-ci.org/plus3x/privilegex)
[](https://beta.hexfaktor.org/github/plus3x/privilegex)
[](http://inch-ci.org/github/plus3x/privilegex)
[](http://hexdocs.pm/privilegex)
[](https://hex.pm/packages/privilegex)
Privilegex is a library for changing an elixir process's privileges(setuid/setgid) from the inside
## Usage
```elixir
Privilegex.change "user_name", "group_name"
```
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed as:
1. Add `privilegex` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[{:privilegex, "~> 0.1.0"}]
end
```
2. Ensure `privilegex` is started before your application:
```elixir
def application do
[applications: [:privilegex]]
end
```