Privilegex

Hex.pm Version Build Status Deps Status Inline docs Documentation Downloads

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:

        def deps do
          [{:privilegex, "~> 0.1.0"}]
        end
        ```
  2. Ensure privilegex is started before your application:

        def application do
          [applications: [:privilegex]]
        end
        ```