In /etc/login.defs what are ENV_PATH and ENV_SUPATH used for?  From /etc/login.defs: # REQUIRED  The default PATH settings, for superuser and normal users.   #   # (they are minimal, add the rest in the shell startup files)   ENV_SUPATH   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin   ENV_PATH     PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games  They seem to default to the same exact initial path values that I have for PATH in /etc/profile in Debian Jessie.In man it says very briefly what login.defs is used for. This page says a bit more.PATH and ENV_PATH don't appear to be connected or dependent on one another, or if they are it's not obvious to me how one depends on the other.Do I need to update my bash system paths in both of these two places? Or is there a way to have paths defined in only one place, and to refer to this master path value?  Or perhaps are these just used as a default in the case that PATH is missing?  ... So they don't really matter that much ???
/etc/login.defs: ENV_PATH & ENV_SUPATH vs PATH
environment variables;login;path
Quoting the man page about login.defsENV_PATH (string)             If set, it will be used to define the PATH environment variable             when a regular user login. The value is a colon separated list of             paths (for example /bin:/usr/bin) and can be preceded by PATH=.             The default value is PATH=/bin:/usr/bin.  ENV_SUPATH (string)             If set, it will be used to define the PATH environment variable             when the superuser login. The value is a colon separated list of             paths (for example /sbin:/bin:/usr/sbin:/usr/bin) and can be             preceded by PATH=. The default value is             PATH=/sbin:/bin:/usr/sbin:/usr/bin.Both are used to define the PATH variable of regular, super user initially.My login.defs has the ENV_PATH, ENV_SUPATH defined to followingENV_SUPATH      PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin  ENV_PATH        PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/gamesI added a new user 'foo'sudo useradd foosudo passwd foo                                                                                                     Enter new UNIX password:Retype new UNIX password:passwd: password updated successfullyWhen i login as 'foo'  foo@naga-playground:/$ echo $PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/gamesSimilarly for 'root'  root@naga-playground:/home/pi/# echo $PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/binThe PATH can be overridden by the user via .bashrc, .bash_profile, .zshrc ...To make the answer completeENV_PATH is used to define PATH for a regular userENV_SUPATH is used to define PATH for a super user