Re: High UID user can not login

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

 



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@xxxxxxxxxx
Member #1, Red Hat Community Ambassador Program

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