I want to make system usable without setuid, file \"+p\" capabilities, and in general without things which are disabled when I set PR_SET_NO_NEW_PRIVS.
I think (my understanding), that the best way to use capabilities is:
chmod set inherit CAP_FOWNER, if user needs super powers (those normally held by root), then they need to use setpriv (or equivalent, this could be rolled into sudo), else it works in unprivileged mode.Uses of ambient: