Liste des Groupes | Revenir à cu shell |
... It seems to me that, as a normal user, the PATHAs for non-sudo PATH, you can always run:(and with it the path-search) could be drastically reduced. Is thereYes, `sudo` can be configured to set $PATH for the programs that
a method to only have them in the PATH when 'sudo'ing any programs
that require root privileges and the privileged programs in 'sbin'?
it invokes; see sudoers(5) and look for `secure_path`. If you
don't invoke those from your normal shell, I don't see a problem
removing them from the default.
Les messages affichés proviennent d'usenet.