Privilegex

Hex.pm VersionBuild StatusDeps StatusInline docsDocumentationDownloads

Privilegex is a library for changing an elixir process's privileges(setuid/setgid) from the inside

Usage

Privilegex.change "user_name", "group_name"

Installation

If available in Hex, 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
```
  1. Ensure privilegex is started before your application:
```elixir
def application do
  [applications: [:privilegex]]
end
```