Bug 3271

Summary: gdm-1.1.0-35 silently fails if home directory is 777
Product: [Retired] Red Hat Linux Reporter: nelson
Component: gdmAssignee: Elliot Lee <sopwith>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: mkp
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-10-29 14:38:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description nelson 1999-06-04 16:59:41 UTC
If a user with a world-writeable directory tries to log in,
gdm will accept their password, clear the screen as if to
start the session, and then immediately kill the session and
return to the login box. No error messages are presented,
and we couldn't even find any explanation in a log file
anywhere.

I'm not sure if the bug is in gdm itself or the login
scripts that Redhat 6.0 uses. I have also submitted this as
a Gnome bug.

Comment 1 nelson 1999-06-04 17:00:59 UTC
This is listed as Gnome bug report #1393

Comment 2 David Lawrence 1999-06-04 21:39:59 UTC
I have verified this to be true on a test lab machine with a stock 6.0
intall. I created a sample user account. chmod 777 that users home
directory. Then using gdm attempted to login as the sample user with
out success. It would come back to the gdm login screen. I then chmod
755 the home directory and then was able to successfully login to the
gnome desktop.

Comment 3 nelson 1999-06-07 15:31:59 UTC
This might just be a good security measure - with xauth style
security, a world-writeable home directory is a really bad idea.
If this is correct behaviour, then the "fix" should be to make
sure the user understands why they weren't allowed to log in.
Some sort of visible error message...

Comment 4 Elliot Lee 1999-08-31 23:54:59 UTC
Assign to mkj for now.

Comment 5 Elliot Lee 1999-10-29 14:38:59 UTC
Try getting the gdm-2.0beta2-13 from RHL 6.1