Reputation
Next privilege 125 Rep.
Vote down
Badges
1
Newest
 Supporter
Impact
0 people reached

  • 0 posts edited
  • 0 helpful flags
  • 3 votes cast
Mar
21
comment Can I script loading a profile.d script?
I had a similar problem in which I tried to modify the PATH variable from within a script that was executed from a Bash shell. As @Cian explains, the parent process (in this case the Bash shell) didn't saw the changes because the script is executed as a child process. I was trying to avoid forcing the user to re-login (bash -l). It didn't work.
Mar
21
awarded  Supporter