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.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to