Re: High UID user can not login
From: Ed Wilts (ewilts_at_ewilts.org)
Date: Fri, 10 Dec 2004 09:32:10 -0600 To: General Red Hat Linux discussion list <email@example.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
> 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.
BAD PASSWORD: it's WAY too short
Retype new password:
passwd: all authentication tokens updated successfully.
[root@p6000 ewilts]# ssh examp03@localhost
/usr/X11R6/bin/xauth: creating new authority file /var/tmp/.Xauthority
> 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:firstname.lastname@example.org Member #1, Red Hat Community Ambassador Program -- redhat-list mailing list unsubscribe mailto:email@example.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list