Bug 369287

Summary: Default UID back to 500
Product: [openSUSE] openSUSE 11.0 Reporter: Freek de Kruijf <freek>
Component: YaST2Assignee: E-mail List <bnc-team-screening>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P5 - None CC: chrubis, jsuchome, kukuk
Version: Alpha 2   
Target Milestone: ---   
Hardware: 64bit   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: part of y2log

Description Freek de Kruijf 2008-03-11 16:53:41 UTC
In a previous openSUSE or SUSE linux version the default/firsts UID for user accounts was moved from 500 to 1000. Now it is back to 500. I rather prefer that it stays on 1000.
Comment 1 Jiří Suchomel 2008-03-19 07:17:41 UTC
Hm, the default should be the same as in 10.3... how did you created an user, during installation?
Please attach yast log files (http://en.opensuse.org/Bugs/YaST) and tell me the name of the user.
Comment 2 Freek de Kruijf 2008-03-19 13:21:12 UTC
Created attachment 202920 [details]
part of y2log
Comment 3 Freek de Kruijf 2008-03-19 13:23:55 UTC
I created the user during installation. In previous versions only the root password was asked for. Now during installation you are asked to provide the first user and there is a further question on wether the password of that user should also be the password of root.

The output of "grep -B20 -A20 '/home/freek' /var/log/YaST2/y2log" is in the attachment. If you really need the whole file, just let me know. There is also a file /var/log/YaST/y2log-1 which contains earlier YaST messages.

The username is freek and obviously the home directory is /home/freek .
Comment 4 Jiří Suchomel 2008-03-19 13:58:04 UTC
Now I see UID_MIN _is_ set to 500 in /etc/login.defs. So is it a new policy?
Comment 5 Thorsten Kukuk 2008-03-19 14:18:48 UTC
Where is UID_MIN set to 500 in /etc/login.defs? Not in pwdutils:

SYSTEM_UID_MIN            100
SYSTEM_UID_MAX            499
UID_MIN                  1000
UID_MAX                 60000
Comment 6 Jiří Suchomel 2008-03-19 14:25:13 UTC
I have

SYSTEM_UID_MIN  100
SYSTEM_UID_MAX  499
UID_MIN 500
UID_MAX 60000

on installed Alpha3...
Comment 7 Jiří Suchomel 2008-03-19 14:30:40 UTC
Hm, I have a  suspicion, that yast2-users might write it just before... lets see
Comment 8 Jiří Suchomel 2008-03-19 15:12:59 UTC
Fixed in yast2-users-2.16.19