Due to a recent update on Javascript code a full page refresh on your browser might be needed.
Bug 1384568 - gnome-initial-setup will create a new user
Summary: gnome-initial-setup will create a new user
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-initial-setup
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rui Matos
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-13 14:46 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2016-10-14 15:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-14 15:24:04 UTC
Type: Bug


Attachments (Terms of Use)

Description Zbigniew Jędrzejewski-Szmek 2016-10-13 14:46:56 UTC
Description of problem:
As part of the wayland test day, I run /usr/libexec/gnome-initial-setup under the user liveuser. It allowed me to create a new user. This is really surprising. If it allowed me to adjust my own user data instead, that'd be understandable.

$ getent passwd foobar
foobar:x:1001:1001:Foo Bar:/home/foobar:/bin/bash

Version-Release number of selected component (if applicable):
gnome-initial-setup-3.22.0-1.fc25.x86_64

Comment 1 Matthias Clasen 2016-10-13 16:58:59 UTC
If you run it manually, you are the one who decides what the tool does.

Try gnome-initial-setup --existing-user

Comment 2 Zbigniew Jędrzejewski-Szmek 2016-10-13 17:13:37 UTC
g-i-s has been around for a while, and people know they can run it to enable/disable privacy settings and such. And g-i-s currently says "Tell us more about yourself". At least, it seems that this choice should be reversed: anaconda/first-boot/whatever-special-thing should use some switch (--create-user), and the default thing should be to do nothing surprising.

Comment 3 Matthias Clasen 2016-10-14 15:24:04 UTC
it is in libexec for a reason. This is not a tool you are supposed to run by yourself.


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