[lug] Xsession: Logon for <user> disabled!

Samartha qwerty at pobox.com
Thu Jun 29 03:18:18 MDT 2000

I suspect that PAM is the culprit.

adding  a login account, deleting it, adding the same name
    again will lock the user name out with the above message.

    After deleting it, I made sure that the user home directory is
    gone, the entries in /etc/passwd, group and shadow for this
    user are gone.

    Then, when I add the same user name again, I cannot use the
    graphical logon window - I geht the
    "Xsession: login for <user> is  disabled" -

    message box prompting me to click "OK"  - Bs - it's
    not OK!!!

    I think there is somewhere an entry remaining in some auth database and
    the authentication fails.

    My syslog entry:
    Jun 29 01:27:50 munich PAM-unix2[18442]: session started for user 
sam2,   service xdm
    Jun 29 01:28:00 munich PAM-unix2[18442]: session finished for user 
sam2,   service xdm

    the /etc/pam.d/xdm has:

    auth     required       /lib/security/pam_unix.so       nullok  #set_secrpc
    account  required       /lib/security/pam_unix.so
    password required       /lib/security/pam_unix.so       #strict=false
    session  required       /lib/security/pam_unix.so       debug # trace 
or none

    and I suspect that the session somehow fails.

    But I have no clue where the user information is kept in PAM.


More information about the LUG mailing list