hilbix / suid

run programs and scripts suid
Other
0 stars 0 forks source link
secure-by-default suid wrapper

Warning! See "Security" section at the end.

suid Build Status

SUID

Somewhat an inverse to sudo but with security first.

Usage

git clone https://github.com/hilbix/suid.git
cd suid
make
sudo make install

Afterwards you can run something as

suid command args..

suid is inverse to sudo in the sense, that sudo is user->command, where suid is command->user.

Return values:

Configuration and environment

See /etc/suid.conf sample file and /etc/suid.conf.d/ sample directory.

FAQ

Why not sudo?

Call a script?

Call a suid capable program?

Why is : escaped to \\:\: and arguments should be followed by \\:?

Is suid secure?

Other conf?

Missing privilege separation directory: /var/run/sshd

Debianized version?

License?

License

This Works is placed under the terms of the Copyright Less License, see file COPYRIGHT.CLL. USE AT OWN RISK, ABSOLUTELY NO WARRANTY.

Read:
This is free as in free beer, free speech and free baby.
Copyright on DNA is contradicting human rights.

Security

suid has a strict "secure by default" policy. This section records the security related changes.

If any major or minor security flaw is fixed:

Hence, if your setup is broken afterwards, you perhaps lived in danger. (If not does not mean you lived safe!) Now you can check and perhaps enable the option which opens the security hole again. But then you apparently know what you are doing.