[Bug 1215850] New: sudo no longer works after latest snapshot
https://bugzilla.suse.com/show_bug.cgi?id=1215850 Bug ID: 1215850 Summary: sudo no longer works after latest snapshot Classification: openSUSE Product: openSUSE Aeon Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Base Assignee: rbrown@suse.com Reporter: dan@yeaw.me QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Overview: after upgrading to snapshot 20230929, the sudo command is failing and saying that the password is incorrect. Steps to Reproduce: 1. sudo transactional-update dup [sudo] password for user: Sorry, try again. Actual Results: sudo fails to log in Expected Results: sudo logs in successfully Other notes: su works Logging in using root works This is the default sudo config, which allows for any user in the default 'users' group can run sudo if they know the root password. I haven't modified any of the sudo configurations. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215850 Dan Yeaw <dan@yeaw.me> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dan@yeaw.me -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215850 https://bugzilla.suse.com/show_bug.cgi?id=1215850#c1 --- Comment #1 from hui <sturm-fr@web.de> --- According your terminal output the user password is required and not the root one... [sudo] password for user: -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215850 https://bugzilla.suse.com/show_bug.cgi?id=1215850#c2 --- Comment #2 from Dan Yeaw <dan@yeaw.me> --- Hi Hui, that is a good catch, my user password does login correctly. However, this is a change in functionality. If I roll back to a previous release, it asks for my root password. Also if I `sudo visudo`, it is set up as: ``` Defaults targetpw # ask for the password of the target user i.e. root ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'! ``` In this configuration, it should ask for the root password. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215850 https://bugzilla.suse.com/show_bug.cgi?id=1215850#c3 Richard Brown <rbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #3 from Richard Brown <rbrown@suse.com> --- sudo is working just fine visudo is ignoring drop-in configurations, but Aeon has one, which removes targetpw for users in the wheel group and the user made by gnome-initial-setup is in the wheel group this report seems to confirm we can go ahead and lock/disable root on fresh installs now, as requested in https://bugzilla.opensuse.org/show_bug.cgi?id=1213159 Thanks! -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com