Timeline for Always source bashrc in AlmaLinux / RedHat based system
Current License: CC BY-SA 4.0
15 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Nov 15, 2023 at 21:26 | history | suggested | Bagalaw | updated tags, also please remove the summary requirement | |
| Nov 15, 2023 at 16:24 | review | Suggested edits | |||
| S Nov 15, 2023 at 21:26 | |||||
| Nov 14, 2023 at 10:27 | history | edited | Simon T. | CC BY-SA 4.0 | added 32 characters in body |
| Nov 14, 2023 at 10:15 | history | edited | Simon T. | CC BY-SA 4.0 | added 483 characters in body |
| Nov 14, 2023 at 10:07 | comment | added | Simon T. | I have root access to the machines. Home directories are created by the IT central service and therefore I have no control over the home creation process. | |
| Nov 14, 2023 at 9:40 | comment | added | terdon♦ | Can you edit /etc/profile? That requires root access. If you have root access, you also have write access to /etc/skel/ so you can set up new users with .bashrc if you want to. | |
| Nov 14, 2023 at 9:38 | answer | added | terdon♦ | timeline score: 1 | |
| Nov 14, 2023 at 9:19 | comment | added | Uberhumus | @u1686_grawity, I suspect one of us is reading it wrong. "We figured out the that is because opening a terminal in X2GO is not a login shell and thus the /etc/bashrc is not sourced by the /etc/profile" hints that /etc/profile is loaded. He specifically asks: "I would like to fix that on the AlmaLinux machine by always sourcing the /etc/bashrc.". Am I missing something? | |
| Nov 14, 2023 at 9:15 | comment | added | grawity | @Uberhumus: OP says their issue is that a non-login shell is being started – and non-login shells do not load /etc/profile, which seemingly is the very problem here. | |
| Nov 14, 2023 at 9:08 | comment | added | Uberhumus | Can you edit the /etc/profile on the relevant machines? If you can just add . /etc/bashrc as an additional line in /etc/profile. But why not just add what you need from /etc/bashrc to /etc/profile? | |
| Nov 14, 2023 at 8:59 | history | edited | Simon T. | CC BY-SA 4.0 | edited title |
| S Nov 14, 2023 at 8:58 | history | suggested | Marius_Couet | CC BY-SA 4.0 | Fixed title, replaced .bashrs with .bashrc |
| Nov 14, 2023 at 8:13 | review | Suggested edits | |||
| S Nov 14, 2023 at 8:58 | |||||
| S Nov 13, 2023 at 22:41 | review | First questions | |||
| Nov 15, 2023 at 16:25 | |||||
| S Nov 13, 2023 at 22:41 | history | asked | Simon T. | CC BY-SA 4.0 |