On Monday, November 29, 2021 at 12:20:12 PM UTC-5 [email protected] wrote:
> Traverse /home and for each user: > edit: > ~/.bashrc > with: > export PATH="SOMETHING":$PATH" > > This way lies madness, and a stack of security issues when someone or some process sticks alternative binaries or scripts for "ls" or "sh" in SOMETHING/sh. Also, as PATH becomes longer and longer from repeated such exercises, it can exceed the maximum PATH. It should be added to cautiously. "Traverse /home" is also a non-starter in environments where home directories are auto-mounted or don't live in /home/ for particular users, and tools like the "barman" software for PostgreSQL backups have their own fascinating habit of shoving components in $HOME/ that need to be completed for each user. May I suggest thoughtfully activating such changes only as needed for particular users, perhaps as part of the "barman" setup for those users? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c75a6e2e-abe2-45ae-8750-84624b464d74n%40googlegroups.com.
