25 Aug
2009
25 Aug
'09
9:04 a.m.
RedShift schrieb:
/usr/bin/bash2: #!/bin/bash bash --rcfile /etc/bashrc
and then
echo "/usr/bin/bash2" >> /etc/shells usermod -s /usr/bin/bash2 myuser
Yes, or create /etc/bashrc, then /etc/bashrc.d/ and allow to move files there just like /etc/profile.d. But then you'd need ". /etc/bashrc" in all user ~/.bashrc. I was hoping there was some magical mechanism that would apply systemwide.