Red Hat Bugzilla – Bug 77154
UID Limitations (think 16 bit uid_t) and its results
Last modified: 2007-11-30 17:06:52 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows 98; F-5.0.1SP1-
Description of problem:
UID's above 50000 (I have tried from 52000 to 900000) or so fail to work, in
that the home directory is show as owned by a numeric that ISNT the user's UID.
In addition, programs like ssh (into the box) and sudo die w/o giving help for
users whose UID is that high.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.install Default AS2.1 (we use a kickstart)
2.useradd -u 625625 tester
3.ls -al /home/ and see that tester's home dir is owned by a number around 34000
4. Now try ssh into the box from another one.
5. Give tester sudo access and try using it as tester
Actual Results: sudo says "killed", and ssh won't let you in.
Expected Results: able to execute sudo commands, able to ssh in.
This is on the default kernel. On my laptop, I used the kernel-i686.config and
made my own kernel (to enable LVM). THAT kernel does not have this problem. The
unmodified kernel on the Dell PowerEdge server does.
This problem seems to be gone in the updated kernel, 2.4.9-e.9