[Pkg-shadow-devel] Bug#483645: Bug with UID=4294967296 on Alpha-Arch. (lenny/sid)

Morais Oliver oliver.morais at akhwien.at
Fri May 30 07:10:29 UTC 2008


Package: login
Version: 1:4.1.1-1
Architecture: alpha

Creating an user-account and changing the UID via vipw to "4294967296"
(Which is 2^32) results in an overflow and the user gets the UID=0,
an UID of "4294967297" leads to an UID=1 and so on.

$ grep test /etc/passwd
test:x:4294967296:5000:,,,:/home/test:/bin/bash

$ su - test
Password:
root at testbox:~# id
uid=0(root) gid=5000(test) groups=5000(test)

root at testbox:~# uname -a
Linux testbox 2.6.21-2-alpha-generic #1 Thu Jul 12 03:14:26 UTC 2007
alpha GNU/Linux

root at testbox:~# cat /etc/debian_version
lenny/sid

If I can provide further info or testing, no problem, just ask :-)

Regards,
Oliver








More information about the Pkg-shadow-devel mailing list