Repost: High UID user can not login

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx]
  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@xxxxxxxx]
  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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux