In the ubuntu server I run, I added customisations in
/etc/bash.bashrc and as
.sh files in
/etc/profile.d, to add some useful aliases and functionalities for my users. All of them run correctly for my account.
However, logging into other accounts (including ones in the same groups as mine), be it via
ssh, these customisations aren't loaded. Manually running
. /etc/profile does the trick, but afaik this should happen automatically at startup in interactive login shells. Running
echo $0 from all accounts returns
-bash, so I assume they effectively are in such shells.
Why else could this be happening, and how can I fix it?