hilbix / suid

run programs and scripts suid
Other
0 stars 0 forks source link

Allow unprivileged users to create commands other users can call on behalf of this unprivileged user #16

Open hilbix opened 3 years ago

hilbix commented 3 years ago

suid is suid root. It is clumsy to have the need to create another variant which is suid user.

Being able to easily delegate with a sound and safe security barrier is important. Hence there should be a very easy way to implement this such that it is usable and stops possible errors due to complexity.

Note that this probably contradicts #3

Hence delegation should be favored.

Delegation would involve following steps:

This should automatically include /etc/subid and /etc/subgid as follows:

New directory /etc/suid/:

Entries from these directories can be accessed with:

Notes:

General delegation: