Linux sysadmin question (since it's no longer possible to find actual answers via search on the Internet):

How can I configure the PATH to *always* have a specific directory in it when a shell (Bash) is started, regardless of whether the shell is login/non-login, interactive/non-interactive, etc.?

The normal steps (adding a file in /etc/profile.d which adds to the path) work for login/interactive shells, but not for shells opened by sshd with a command to execute (no pty).

#Linux #SysAdmin #LinuxSysAdmin

I'm going to punt on this, and just symlink the needed binaries/scripts into /usr/local/bin, which is already in the PATH.
@kevin I used to do just that but then I found that ~/.local/bij appears to end up in PATH quite reliably so I am trying that for a bit now