Web lists-archives.com

Re: Setting default $PATH for all users




On Fri 08 Feb 2019 at 07:18:39 (-0600), Richard Owlett wrote:
> I'm running Debian Stretch with MATE desktop.
> I want the current user and all future users to include all
> directories in root's $PATH.

If you're talking about PATH, then you're talking about logging in.
So of equal importance to the DE you're using is the DM, and I'll
guess that's likely lightdm. Was that amongst your search terms?

> I haven't found a definitive answer in my web search. The answers
> seem to depend on which Linux is used and multiple parameters.

Yes, as are so many other details of configuration.

If searching outwards gets you no further, then perhaps turn your
attention inwards. For example,   grep -r PATH /etc   or, a little
less noisy,   grep -r PATH= /etc   will reveal some candidates
(plus lots of false positives, which the filenames will make obvious).

Cheers,
David.