Re: High UID user can not login

From: Ed Wilts (ewilts_at_ewilts.org)
Date: 12/10/04

  • Next message: Yogesh Chaudhary: "Re: CROND[5451]: LAuS error - meaning???"
    Date: Fri, 10 Dec 2004 09:32:10 -0600
    To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    
    

    On Fri, Dec 10, 2004 at 09:06:25AM -0500, Stamper, Steve wrote:
    > I have added a new user which requires a specific UID.
    > useradd -c "Example Agent Account" -g eaa -d /eaa -u 6000 examp03
    >
    > Trying to login using Putty I enter the ID and password then get:
    > PuTTY Fatal Error - Server sent disconnect message: "Command terminated on
    > signal 25."
    >
    > Using usermod I knock the UID down to a low order number and I can log in
    > correctly.
    > usermod -u 511 examp03

    Odd...This is from RHEL3:

    [root@p6000 ewilts]# useradd -c "Example Agent Account" -d /var/tmp -u 6000 examp03
    [root@p6000 ewilts]# passwd examp03
    Changing password for user examp03.
    New password:
    BAD PASSWORD: it's WAY too short
    Retype new password:
    passwd: all authentication tokens updated successfully.
    [root@p6000 ewilts]# ssh examp03@localhost
    examp03@localhost's password:
    /usr/X11R6/bin/xauth: creating new authority file /var/tmp/.Xauthority
    [examp03@p6000 tmp]$

    > This tells me there is probably a MAXIMUM UID so I looked in /etc/login.defs
    > and found:
    > UID_MAX 60000
    > which is well above my 6000 number.

    I believe that this is only used when automatically picking a uid for
    creating new accounts.

    > Any ideas where I can look next???

    On the server, look in /var/log/secure and /var/log/messages and see
    what it tells you.

    -- 
    Ed Wilts, RHCE
    Mounds View, MN, USA
    mailto:ewilts@ewilts.org
    Member #1, Red Hat Community Ambassador Program
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Yogesh Chaudhary: "Re: CROND[5451]: LAuS error - meaning???"

    Relevant Pages

    • Re: Max UID of Redhat 7.1
      ... > What is the max UID on a RedHat 7.1 system. ... [root@mioc2 ewilts]# grep foo /etc/passwd ...
      (RedHat)
    • Repost: High UID user can not login
      ... I have added a new user which requires a specific UID. ... Trying to login using Putty I enter the ID and password then get: ... PuTTY Fatal Error - Server sent disconnect message: ... I've upgraded openssl and openssh to match a similar system and it works ...
      (RedHat)