Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 10392 - kdm doesn't allow user login.
kdm doesn't allow user login.
Product: Red Hat Linux
Classification: Retired
Component: kdebase (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
Depends On:
  Show dependency treegraph
Reported: 2000-03-28 10:49 EST by Luca Bonomi
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-07-15 01:04:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Luca Bonomi 2000-03-28 10:49:41 EST
Hi, I found this strange behaviour:
I am using NIS with shadow passwords.
If I try to login as a user through kdm I get "Login failed".
Other login managers (console login, xdm) are working correctly.
Note that once you manage to login (e.g. using xdm), the kde lock screen
will return a password failure as well.

kdm works fine for user "root".

I've also tried to disable NIS, create a "test" user and copy my encrypted
passwd to the "test" entry in the /etc/shadow file. kdm fails with "Login
failed" for user "test". I deduce NIS is not the problem.
Then I have assigned a locally generated passwd to "test". This was created
as an md5 passwd and kdm works correctly.
Is that some trouble with kde and non-md5 passwords?

Comment 1 Luca Bonomi 2000-03-30 08:27:59 EST
Trying to narrow it down:

I have removed the kdebase, kdelibs and kdesupport that come with redhat 6.2 and
installed the older kde 1.1.2 packages I was using with Redhat 6.1:


With the old version I can login again.
Comment 2 Luca Bonomi 2000-04-14 09:12:59 EDT
I have noticed that if you comment out the line

auth       required    /lib/security/pam_shells.so

from the file "/etc/pam.d/kde", both kdm and klock will work correctly.
Now, why kde is using the "/lib/security/pam_shells.so" module? Any security
implications in my action?
Comment 3 Seth Vidal 2000-07-15 01:04:41 EDT
IF your users shell is not listed in /etc/shells they won't be able to login.

MAke sure the COMPLETE path to your users shell is listed in /etc/shells and kdm
and klock should work.

Comment 4 Bernhard Rosenkraenzer 2000-08-04 09:12:48 EDT
It's a feature - users with a shell of /dev/null, /bin/false or anything else
that is not listed in /etc/shells aren't supposed to be able to log in.

Note You need to log in before you can comment on or make changes to this bug.