Bug 24039 - sddm has wrong uid minimal
Summary: sddm has wrong uid minimal
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-20 09:02 CET by Daniel Tartavel
Modified: 2019-04-08 14:05 CEST (History)
4 users (show)

See Also:
Source RPM: sddm-0.14.0-13.2.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Daniel Tartavel 2018-12-20 09:02:27 CET
Description of problem:

sddm has MinimumUid set to 500, so in Mageia minimum uid of users begin to 1000.
So MinumumUid should be 1000
Comment 1 James Kerr 2018-12-20 09:55:41 CET
I think that is because there are systems in use that have been progressively upgraded since the time when the starting uid on Mageia was 500. 

Existing uid's are preserved during a distro upgrade.

CC: (none) => jim

Comment 2 Marja Van Waes 2018-12-22 12:49:47 CET
(In reply to James Kerr from comment #1)
> I think that is because there are systems in use that have been
> progressively upgraded since the time when the starting uid on Mageia was
> 500. 
> 
> Existing uid's are preserved during a distro upgrade.

IINM, there are some cauldron users who have been updating cauldron since Mageia was born, never doing a fresh install.. they'll still have 5xx UIDs on their systems.

Assigning to KDE team for them to decide what to do with this report.

CC: (none) => marja11
Assignee: bugsquad => kde

Comment 3 Rolf Pedersen 2018-12-22 17:47:50 CET
(In reply to Marja Van Waes from comment #2)

> 
> IINM, there are some cauldron users who have been updating cauldron since
> Mageia was born, never doing a fresh install.. they'll still have 5xx UIDs
> on their systems.
> 
> Assigning to KDE team for them to decide what to do with this report.

I have been UID/GID 501 since Mandrake 7.1 made it so and I preserve this user across multiple machines as they get added to the LAN, fwiw.  IIRC, I have to change the minimum in MCC to see my user in the login screen for, typically, the plasma desktop when installing new, keeping /home.  If it became necessary to change it all for good reason, I imagine I could but would prefer not to.  Thanks.

CC: (none) => rolfpedersen

Comment 4 David Walser 2018-12-25 01:06:24 CET
This is likely INVALID, but another possible approach is what IIRC we did with KDM, which is set it to 1000 but have it patched to also recognize actual (and not system) users in the 500-1000 range.
Comment 5 Thomas Backlund 2018-12-25 01:10:03 CET
Actually, default sddm.conf should state 1000 as intended

It's defined as:
%config(noreplace) %{_sysconfdir}/sddm.conf

in spec, so upgrades would keep their old 500, but new installs would get 1000

CC: (none) => tmb

Comment 6 Daniel Tartavel 2019-04-08 14:05:17 CEST
hi ,

closing bug report

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.