Bug 33951 - mageiawelcome is confused by user name "live" when not live system, confused by "root" when live.
Summary: mageiawelcome is confused by user name "live" when not live system, confused ...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-23 08:40 CET by Ben McMonagle
Modified: 2025-01-23 16:23 CET (History)
2 users (show)

See Also:
Source RPM: mageiawelcome-2.25-1.mga9.src.rpm
CVE:
Status comment:


Attachments

Description Ben McMonagle 2025-01-23 08:40:08 CET
Description of problem: 

When booted into a LIVE system, should the user choose to become user "root", the mageia-welcome app changes from "Live mode" to "Installed mode". 

Likewise, should a user create a user "live" in an installed system, either at installation or later, and either login to user "live" or su - into user "live", the "Live mode" mageia-welcome app is displayed. 

In the later case, the user "live" would not be able to use the "Installed mode" specific tabs.

Possible fixes:
1/ somehow prevent user "live" being available as an installed system user.
2/ force the Live system Mageia-Welcome app to only allow user "live".


Version-Release number of selected component (if applicable):
mageiawelcome-2.25-1.mga9

How reproducible: always under these circumstances.


Steps to Reproduce:
1. in a live system become "root", or, in an installed system, create the user "live" and login to or su - into user "live"
2.
3.
Comment 1 Morgan Leijström 2025-01-23 09:46:23 CET
Thank you for the report and ideas.
Assigning to tools maintainers.

Assignee: bugsquad => mageiatools
CC: (none) => fri

Comment 2 Martin Whitaker 2025-01-23 09:58:48 CET
A better fix: test if the system is booted in live mode by checking for the existence of the directory /run/mgalive.

CC: (none) => mageia

Morgan Leijström 2025-01-23 16:23:27 CET

Summary: mageiawelcome app can be confused by users => mageiawelcome is confused by user name "live" when not live system, confused by "root" when live.


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