|
|
|
|
|
by diego_sandoval
732 days ago
|
|
Hot take: system commands shouldn't be as accessible as user commands. There should be some sort of namespacing. For example, mkfs should be invoked with `sys::mkfs` or something like that. The line that separates system and user commands may be defined in different ways, and it may be fuzzy in some places, but if a user accidentally invokes a command that they don't even know why is there, and they didn't explicitly install, then that's clearly a command that shouldn't be directly available in the global namespace. |
|
The sbin directories are supposed to contain "system" (or superuser) commands, and regular users should NOT have those directories in their PATH.
This has been broken for a long time on every distribution I've looked at though.