[Bug 1191189] New: Yast2 - missing defaults for "Defaults for New Users"
https://bugzilla.suse.com/show_bug.cgi?id=1191189 Bug ID: 1191189 Summary: Yast2 - missing defaults for "Defaults for New Users" Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: 64bit OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: bingmybong@btinternet.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- I created a new user in Yast2 without checking the "Defaults for New Users" as i've created users in the past with no issues. I've not created a user for a few years so i have no idea when this became a problem. Background: I tried to log in with this new user but got an Xsession error (looked like a format from the 1980s) saying its disabled but i can login via terminal session. The only way to clear that Xsession error is to Ctrl Backspace Backspace, it does have an "okay" button on the message but its unclickable and un-escapeable or any key. Solution I then went back and checked the list of users in Yast2 and my new one did not belong to any groups. I checked "Defaults for New Users" and saw "users" was the default group but the "Default Login Shell" and "Skeleton for Home Directory" were blank. I put in /usr/bin/bash and /etc/skel, deleted the old user and created a new one which allowed me to login fine. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1191189 https://bugzilla.suse.com/show_bug.cgi?id=1191189#c2 Ancor Gonzalez Sosa <ancor@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ancor@suse.com --- Comment #2 from Ancor Gonzalez Sosa <ancor@suse.com> --- The file /etc/default/useradd was recently dropped from the shadow package and YaST was not prepared for that. See bug#1190864 for some details. The bright side is that we are just right now working to improve yast2-users to handle that situation better (by fully relying on "useradd" and whatever mechanisms it implements now or in the future). As a temporary workaround, you can run this once and I think it will generate the file yast2-users expects:
useradd -D -b /home
-- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1191189 https://bugzilla.suse.com/show_bug.cgi?id=1191189#c3 --- Comment #3 from Ian Powell <bingmybong@btinternet.com> --- (In reply to Ancor Gonzalez Sosa from comment #2)
The file /etc/default/useradd was recently dropped from the shadow package and YaST was not prepared for that. See bug#1190864 for some details.
The bright side is that we are just right now working to improve yast2-users to handle that situation better (by fully relying on "useradd" and whatever mechanisms it implements now or in the future).
As a temporary workaround, you can run this once and I think it will generate the file yast2-users expects:
useradd -D -b /home
Thanks. I added the defaults manually and let me create a valid user -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1191189 https://bugzilla.suse.com/show_bug.cgi?id=1191189#c4 --- Comment #4 from Ian Powell <bingmybong@btinternet.com> --- (In reply to Ancor Gonzalez Sosa from comment #2)
The file /etc/default/useradd was recently dropped from the shadow package and YaST was not prepared for that. See bug#1190864 for some details.
The bright side is that we are just right now working to improve yast2-users to handle that situation better (by fully relying on "useradd" and whatever mechanisms it implements now or in the future).
As a temporary workaround, you can run this once and I think it will generate the file yast2-users expects:
useradd -D -b /home
Thanks. I added the defaults manually and let me create a valid user. I'm happy for this to be closed as it seems covered by Bug 1190864 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1191189 https://bugzilla.suse.com/show_bug.cgi?id=1191189#c5 Knut Alejandro Anderssen Gonz�lez <kanderssen@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |kanderssen@suse.com Resolution|--- |DUPLICATE --- Comment #5 from Knut Alejandro Anderssen Gonz�lez <kanderssen@suse.com> --- Closing the bug according to last comments as duplicate of bsc#1190864 at least it is related to it :). Thanks @ancorgs! *** This bug has been marked as a duplicate of bug 1190864 *** -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com