Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86145 - xscreensaver problem?
Summary: xscreensaver problem?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Auditing (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Security
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-21 08:55 UTC by Jochen Maes (RETIRED)
Modified: 2007-01-06 16:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Maes (RETIRED) gentoo-dev 2005-03-21 08:55:54 UTC
When i'm logged in as user, screensaver pops up and locks the screen. 
When trying to unlock you can type in the username and the password. 
I just typed in the password off my root account under another username and i can login. 

this seems to me that it just doesn't really check the username & password, but just whether the pwd is in the /etc/passwd file, belonging to root or the user.
Comment 1 Tavis Ormandy (RETIRED) gentoo-dev 2005-03-21 15:15:48 UTC
Jochen: I've confirmed this behaviour is by design, if you look at the pam_passwd_valid_p() subroutine in passwd-pam.c, xscreensaver attempts to authenticate the current user using pam_authenticate(), if that fails, the username is set to "root" and authentication is attempted again..around line ~277

/* If that didn't work, set the user to root, and try to authenticate again.*/

Marking RESOLVED.