Loading bashrc for non-root SSH user reliably
I was wrestling with this for a while last night and can't make any headway or find any clear info online.
I've got two users set up via Unraid's web UI and mirrored them as Linux users with SSH access with openssh-server Docker containers. I've got everything working except loading a simple .bashrc on login. Just wanting to enable color output and load some standard aliases.
Last thing I tried was creating a simple shell script to load a bashrc from the user's "home" directory (under /data/config since there's no standard home directory with these containers) via /etc/profile.d. When I remote in, it's not being run but I can manually `source .bashrc` and it loads fine. Just can't figure out how to convince it to load on login correctly.
Not seeing anything directly mentioning this and have had to resort to asking an LLM which I don't like to do, but haven't made much headway with that either. Anyone have any suggestions or tips? Thank you!