Repost: High UID user can not login

From: Stamper, Steve (sstamper_at_foremost.com)
Date: 12/17/04

  • Next message: Larry D Sorensen: "Re: updates"
    To: "'General Red Hat Linux discussion list'" <redhat-list@redhat.com>
    Date: Fri, 17 Dec 2004 11:42:26 -0500
    
    

    BTW - 1. Should have added RH7.2....
          2. A new clue, the highest UID I can change to is 3590!?!?!
          3. Sorry for having to hide the real names/numbers.

    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

    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.

    BTW - 1. Should have added RH7.2....
          2. A new clue, the highest UID I can change to is 3590!?!?!
          3. Sorry for having to hide the real names/numbers - security thing.

    /var/log/messages:
      Dec 10 14:27:48 host PAM-warn[8757]: service: sshd [on terminal: NODEVssh]
      Dec 10 14:27:48 host PAM-warn[8757]: user: (uid=0) -> examp03
    [remote:?nobody@10.1.1.1]
      Dec 10 14:27:48 host sshd(pam_unix)[8757]: authentication failure;
    logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=10.1.1.1 user=examp03
      Dec 10 14:28:03 host PAM-warn[8757]: service: sshd [on terminal: NODEVssh]
      Dec 10 14:28:03 host PAM-warn[8757]: user: (uid=0) -> examp03
    [remote:?nobody@10.1.1.1]
      Dec 10 14:28:03 host sshd(pam_unix)[8757]: session opened for user examp03
    by (uid=0)
      Dec 10 14:28:03 host sshd(pam_unix)[8757]: session closed for user examp03

    I've upgraded openssl and openssh to match a similar system and it works
    just fine.

    Any ideas where I can look next???

    Thanks
    Steve

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Larry D Sorensen: "Re: updates"

    Relevant Pages

    • Re: 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: ... [root@p6000 ewilts]# ssh examp03@localhost ...
      (RedHat)
    • Re: OT- root Q? Was: Re: "Bugbear" virus in Linux?
      ... How does knowing the name attached to uid 0 help you ... Are you thinking of some kind of password attack against a ... password attacks against a login ... Many SSH installations I've seen permit root logins by default. ...
      (comp.os.linux.misc)
    • FreeBSD 5.3 forgets some of my users
      ... Sometimes I see in the first column of the ps aux output the uid ... number instead of the login name, but next when I run it, there is the ...
      (freebsd-current)
    • FreeBSD 5.3 forgets some of my users
      ... Sometimes I see in the first column of the ps aux output the uid ... number instead of the login name, but next when I run it, there is the ...
      (freebsd-stable)
    • Re: Some days, it doesnt pay to upgrade ...
      ... Feb 27 04:33:10 mars kernel: maxproc limit exceeded by uid 60, ... therefore there is nothing to login to. ... from remote to really see whether it was a "solid" hang? ...
      (freebsd-stable)