Na Política Debian está escrito que o Debian segue o File Hierarchy Standard versão 2.3. Nota # 19 no padrão diz:
Deciding what things go into "sbin" directories is simple: if a normal (not a system administrator) user will ever run it directly, then it must be placed in one of the "bin" directories. Ordinary users should not have to place any of the sbin directories in their path.
For example, files such as chfn which users only occasionally use must still be placed in /usr/bin. ping, although it is absolutely necessary for root (network recovery and diagnosis) is often used by users and must live in /bin for that reason.
We recommend that users have read and execute permission for everything in /sbin except, perhaps, certain setuid and setgid programs. The division between /bin and /sbin was not created for security reasons or to prevent users from seeing the operating system, but to provide a good partition between binaries that everyone uses and ones that are primarily used for administration tasks. There is no inherent security advantage in making /sbin off-limits for users.
Resposta curta:
Is there any reason I should not add
/usr/local/sbin:/usr/sbin:/sbin
to my path on Debian?
Como a nota afirma, não há motivo para você não fazer isso. Como você é o único que usa o sistema e precisa dos binários nos diretórios sbin
, sinta-se à vontade para adicioná-los ao seu $PATH
. Neste ponto, deixe-me guiá-lo para uma excelente resposta sobre como fazer isso corretamente.