-
Bug
-
Resolution: Duplicate
-
Undefined
-
None
-
rhel-9.2.0
-
None
-
Moderate
-
rhel-sst-cs-plumbers
-
ssg_core_services
-
None
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
We have a customer that is having an issue with their .bashrc looping.
It appears that it may be treating the bash command in the .bashrc as a login shell when logging in via ssh, but not when logging in via other methods.
They were able to narrow down the issue to the following test case:
Tested with root user:
cd $HOME
mv .bashrc .bashrc_bak
vi .bashrc
then put this line into .bashrc and save the file
echo $(/bin/bash -c 'echo Hello')
Then
ssh localhost
This appears to loop forever when logging in via ssh.
However a normal console login works properly, and using 'su - root' works properly.
Also this appears to only affect RHEL 9, and works properly on RHEL 8.
- external trackers