Repost: High UID user can not login

Stamper, Steve sstamper at foremost.com
Fri Dec 17 16:42:26 UTC 2004


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 at 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 at 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



More information about the redhat-list mailing list