Bug 731935 - lastlog is not recorded with the big uid
Summary: lastlog is not recorded with the big uid
Keywords:
Status: CLOSED DUPLICATE of bug 706315
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: openssh
Version: 5.7
Hardware: i386
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Jan F. Chadima
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-19 07:01 UTC by Miroslav Vadkerti
Modified: 2011-08-22 07:42 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 616396
Environment:
Last Closed: 2011-08-22 07:42:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.