I am currently trying to setup some bash definitions (functions, variables) that need to be available for all the users that access a workstation. I have created shell scripts with .sh extension in /etc/profile.d/ directory that have all the necessary. In theory, these should be run once a user logs into the system.
Unfortunately, none of these are available to the users when they use the workstation. The current work-around is to manually source
them.
What puzzles me is that these scripts are run when users login remotely via ssh. :|
What am I missing here?