From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 Description of problem: gdm fails to pass the name of the shell. This is a common oversight by people who do not understand or expect wrappers and other programs that switch behavior based on the name passed to argv[0] using exec functions. Version-Release number of selected component (if applicable): 2.2.3.1-20 How reproducible: Always Steps to Reproduce: 1. Set your login shell to a wrapper program that calls another program based on name. 2. Log in 3. Actual Results: You would get logged out immediately. It makes using local display and remote via xdmcp impossible. Additional info: I will be including a patch to fix the problem.
Created attachment 91735 [details] Patch to resolve the problem
hmm, bugzilla got confused - in the comment, the attachment ID is wrong (91736 should be 91735 as in the attachment list) anyhow, cc'ing gdm author.
I fixed this bug in CVS. I believe redhat doesn't have this bug does it? I thought redhat just reworked this part of the source to force bash always.
Ah, sorry about that. We probably don't have this bug or any change to this part of the source at all anymore; the bug is reported against Advanced Server 2.1 which is GNOME 1.x. Looking at the current code, it's completely different (just runs a script, doesn't invoke the user's shell directly). This will be in the next release of RHEL.