4 ms·
to me the solution seems fairly obvious, and as is tradition already exists in unix as groups. sudo is for people who need root access. if you need anything le
by gnarbarian 4y ago
to me the solution seems fairly obvious, and as is tradition already exists in unix as groups.
sudo is for people who need root access. if you need anything less then create a custom group and assign the relevant specific rights there.
- yjftsjthsd-h 4y agoAnd then use su or whatever to control access to the actual root account? You'll always need some amount of access to it, although I suppose you're correct that in a truly well-functioning system it would be needed much less since everybody would be in enough groups to get access to the stuff they actually need.
- gnarbarian 4y agoexactly
- UncleEntity 4y agoI just like sudo as a sanity checker — if I need it for some random command I stop and figure out why it needs root privileges. The amount of times I’ve seen: wget random_script.sh && chmod +x random_script.sh sudo ./random_script.sh