sudo-rs 0.2.7

A memory safe implementation of sudo and su.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash

# FIXME read headers to find the actually used variant
case $(uname) in
Linux)
    echo linuxpam
    ;;
FreeBSD)
    echo openpam
    ;;
*)
    echo "Unsupported platform"
    exit 1
    ;;
esac