README.md
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
```