Bug 731935

Summary: lastlog is not recorded with the big uid
Product: Red Hat Enterprise Linux 5 Reporter: Miroslav Vadkerti <mvadkert>
Component: opensshAssignee: Jan F. Chadima <jchadima>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: high Docs Contact:
Priority: high    
Version: 5.7CC: mmatsuya, mvadkert, pvrabec, sgrubb, tao
Target Milestone: rc   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 616396 Environment:
Last Closed: 2011-08-22 07:42:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Miroslav Vadkerti 2011-08-19 07:03:43 UTC
Unfortunately this bug was not properly fixed for 32bit architectures and can still be reproduced there:

:: [   PASS   ] :: Running 'useradd -u 4147483648 tester27763'
Changing password for user tester27763.
passwd: all authentication tokens updated successfully.
:: [   PASS   ] :: Running 'echo tester27763 | passwd --stdin tester27763'
Username         Port     From             Latest
tester27763                                **Never logged in**
:: [   PASS   ] :: Running 'lastlog -u tester27763 | tee /tmp/tmp.xAeTm14738'
:: [   PASS   ] :: File '/tmp/tmp.xAeTm14738' should contain 'Never logged in'
tester27763@localhost's password: 
Last login: Fri Aug 19 02:59:48 2011 from localhost.localdomain
exit
[tester27763@i386-5s-m1 ~]$ exit
logout
Connection to localhost closed.
:: [   PASS   ] :: Running './ssh.exp tester27763'
Username         Port     From             Latest
tester27763                                **Never logged in**
:: [   PASS   ] :: Running 'lastlog -u tester27763 | tee /tmp/tmp.xAeTm14738'
Username         Port     From             Latest
tester27763                                **Never logged in**
:: [   FAIL   ] :: File '/tmp/tmp.xAeTm14738' should not contain 'Never logged in'

Comment 2 Miroslav Vadkerti 2011-08-19 07:26:13 UTC
This might be lastlog issue also. Subscribing wrabco.

Comment 3 Miroslav Vadkerti 2011-08-22 07:42:33 UTC

*** This bug has been marked as a duplicate of bug 706315 ***