| Summary: | userdrake shows UID=500 by default when creating new users | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | papoteur <yvesbrungard> |
| Component: | RPM Packages | Assignee: | Mageia tools maintainers <mageiatools> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | Normal | CC: | anaselli, doktor5000, thierry.vignaud |
| Version: | Cauldron | Keywords: | 6sta1 |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA5TOO | ||
| Source RPM: | drakxtools | CVE: | |
| Status comment: | |||
|
Description
papoteur
2015-10-03 20:56:44 CEST
Rémi Verschelde
2015-10-03 21:35:00 CEST
Assignee:
bugsquad =>
thierry.vignaud Verified here, seems it does not respect UID_MIN from /etc/login.defs ... ? In /etc/libuser.conf are also only the defaults: $ sudo grep -B1 LU_UIDNUMBER /etc/libuser.conf # This is better imported from /etc/login.defs: # LU_UIDNUMBER = 500 /etc/sysconfig/userdrake only contains FILTER=true Problem also occurs in current cauldron with userdrake-2.10-3.mga6 CC:
(none) =>
doktor5000 I can confirm it's still valid. CC:
(none) =>
thierry.vignaud IIRC it was hardcoded... and i seem to have fixed it in manauser CC:
(none) =>
anaselli hmm i changed manauser code a bit, anyway I think problem is in lines
$us->{o}{uid} = Gtk3::SpinButton->new(Gtk3::Adjustment->new(500, 1, 65000, 1, 10, 10), 1, 0);
and
$us->{o}{gid} = Gtk3::SpinButton->new(Gtk3::Adjustment->new(500, 1, 65000, 1, 10, 10), 1, 0);
But I'm not a gtk expert
commit 8d4d0a2e083e42a1dc1b30ef4f6a4d4b9dc3288f
Author: Thierry Vignaud <thierry.vignaud@...>
Date: Mon Sep 12 16:14:53 2016 +0200
fix minimal [GU]ID (mga#16888)
---
Commit Link:
http://gitweb.mageia.org/software/userdrake/commit/?id=8d4d0a2e083e42a1dc1b30ef4f6a4d4b9dc3288f
Looks like we were looking at that one at the same time :-) Status:
NEW =>
RESOLVED but you were quicker in fixing it than me :D |