For some operations that require elevated privileges, the user's password is sufficient instead of the root password

Message
Author
User avatar
fehlix
Developer
Posts: 12613
Joined: Wed Apr 11, 2018 5:09 pm

Re: For some operations that require elevated privileges, the user's password is sufficient instead of the root password

#11 Post by fehlix »

zoli62 wrote: Mon May 13, 2024 12:49 pm What was the reason that sudo became the default for performing administrative tasks?
Something like this.
Some consideration where made about whether two passwords
for the user and root are really needed.
And it was considerd have this optional.
* to allow not the give root a password at all, during the installation.
* to have this option to set a root-password not enabled by default.
So in order to prefer user-password instead was made the default,
but user can still enabled the two-password setup and have root's
password the default authentication method for polkit-(GUI)-authentication.
sudo (CLI)-authentication would not be affected and would require user-password,
and user may need to remember both root and user-password.

User avatar
asqwerth
Developer
Posts: 7770
Joined: Sun May 27, 2007 5:37 am

Re: For some operations that require elevated privileges, the user's password is sufficient instead of the root password

#12 Post by asqwerth »

zoli62 wrote: Mon May 13, 2024 12:46 pm
asqwerth wrote: Mon May 13, 2024 9:29 am
https://mxlinux.org/blog/mx-21-wildflower-released/

THis has been the case since MX21.
I didn't ask by chance, because many things on MX Linux 21 required the root password, but on MX 23 the difference was noticeable, that the password of the current user was already enough for the same tasks.
Was your MX21 a clean install, or an in-place upgrade from MX19? If the latter, then the user vs root password thing would not have affected you.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
zoli62
Posts: 46
Joined: Tue Dec 18, 2018 6:55 am

Re: For some operations that require elevated privileges, the user's password is sufficient instead of the root password

#13 Post by zoli62 »

asqwerth wrote: Tue May 14, 2024 6:45 am
zoli62 wrote: Mon May 13, 2024 12:46 pm
asqwerth wrote: Mon May 13, 2024 9:29 am
https://mxlinux.org/blog/mx-21-wildflower-released/

THis has been the case since MX21.
I didn't ask by chance, because many things on MX Linux 21 required the root password, but on MX 23 the difference was noticeable, that the password of the current user was already enough for the same tasks.
Was your MX21 a clean install, or an in-place upgrade from MX19? If the latter, then the user vs root password thing would not have affected you.
Coming from a Debian lineage, I've always preferred in-place upgrades.

User avatar
asqwerth
Developer
Posts: 7770
Joined: Sun May 27, 2007 5:37 am

Re: For some operations that require elevated privileges, the user's password is sufficient instead of the root password

#14 Post by asqwerth »

Ah ha, that's why you didn't realize the default policy on using user and root pw had already changed in mx21.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

Post Reply

Return to “General”