Web lists-archives.com

Re: Setting default $PATH for all users




On Fri, Feb 08, 2019 at 07:18:39AM -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.
> 
> I haven't found a definitive answer in my web search. The answer's seem to
> depend on which Linux is used and multiple parameters.
> 
As with most things in Linux and Unix, it depends.

Some likely candidates are /etc/bash.bashrc, /etc/profile,
/etc/profile.d/, and /etc/environment.

Regards,

-Roberto

-- 
Roberto C. Sánchez