Don't abuse su for dropping user privileges (2015)

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • gosu

    Simple Go-based setuid+setgid+setgroups+exec

    I assume that is why I see gosu [1] used so often for dropping privileges. It's good to have some explanation as to why su is unsuitable for this.

    [1] https://github.com/tianon/gosu

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • doas

    A port of OpenBSD's doas which runs on FreeBSD, Linux, NetBSD, and illumos

  • util-linux

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

Did you konow that C is
the 7th most popular programming language
based on number of metions?