| Summary: | System users conflict with LDAP ones | ||
|---|---|---|---|
| Product: | Infrastructure | Reporter: | Pascal Terjan <pterjan> |
| Component: | Others | Assignee: | Sysadmin Team <sysadmin-bugs> |
| Status: | NEW --- | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | bgmilne, sysadmin-bugs |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
|
Description
Pascal Terjan
2012-04-12 14:30:52 CEST
Maybe we should set UID_MAX=5000 and GID_MAX=5000 in /etc/login.defs ?
I don't know if useradd etc. will find the intended gap from 500 to 5000 though.
I note valstar has:
[root@valstar ~]# grep ^.ID_MAX /etc/login.defs
UID_MAX 2000
GID_MAX 2000
Rabbit also has this, but /etc/login.defs was changed recently:
[root@rabbit ~]# grep ^.ID_MAX /etc/login.defs
UID_MAX 2000
GID_MAX 2000
[root@rabbit ~]# ll /etc/login.defs
Can we close this? Or do we need to cleanup existing conflicts?
[root@rabbit ~]# awk -F: '{if ($3 > 5000) print $1,$3}' /etc/passwd
nobody 65534
mirror 5146
draklive 5147
releasekey 5148CC:
(none) =>
bgmilne BTW., on rabbit it is working correctly at present: [root@rabbit ~]# useradd bug5369test [root@rabbit ~]# getent passwd bug5369test bug5369test:x:517:517::/home/bug5369test:/bin/bash I don't want to correct the existing incorrect users, as I don't know where they may have files, and don't want to wait for a find to finish now. |