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

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

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

#1 Post by zoli62 »

I upgraded from Linux 21 to 23 last time. I noticed that where a root password was required, now the user's password is sufficient. Is this a conscious effort on the part of the development?
Last edited by zoli62 on Mon May 13, 2024 7:01 am, edited 1 time in total.


User avatar
j2mcgreg
Global Moderator
Posts: 6589
Joined: Tue Oct 23, 2007 12:04 pm

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

#3 Post by j2mcgreg »

zoli62 wrote: Mon May 13, 2024 7:00 amNothing.
With the introduction of MX 23 we decided to make sudo the default method for performing administrative tasks. However during installation a user can opt for the traditional method if he / she wishes.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

User avatar
Eadwine Rose
Administrator
Posts: 14453
Joined: Wed Jul 12, 2006 2:10 am

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

#4 Post by Eadwine Rose »

You can choose to do that afterward, in MX Tweak, Other tab, change password for administrative tasks.
MX-23.6_x64 July 31 2023 * 6.1.0-34amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.216.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

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

#5 Post by fehlix »

Yes, for GUI-popup authentication window, the password to authenticate
can be changed with MX-Tweak to be either root's password or user-password.
In case user is not member of the sudo-group, the password would be either
from root-user or from another user (if setup) which is a sudo-member.
The authentication within cli/terminal with sudo is always with the user password of
the user owning the session.

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

#6 Post by asqwerth »

j2mcgreg wrote: Mon May 13, 2024 7:20 am
zoli62 wrote: Mon May 13, 2024 7:00 amNothing.
With the introduction of MX 23 we decided to make sudo the default method for performing administrative tasks. However during installation a user can opt for the traditional method if he / she wishes.
https://mxlinux.org/blog/mx-21-wildflower-released/

THis has been the case since 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

User avatar
j2mcgreg
Global Moderator
Posts: 6589
Joined: Tue Oct 23, 2007 12:04 pm

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

#7 Post by j2mcgreg »

asqwerth wrote: Mon May 13, 2024 9:29 am
j2mcgreg wrote: Mon May 13, 2024 7:20 am
zoli62 wrote: Mon May 13, 2024 7:00 amNothing.
With the introduction of MX 23 we decided to make sudo the default method for performing administrative tasks. However during installation a user can opt for the traditional method if he / she wishes.
https://mxlinux.org/blog/mx-21-wildflower-released/

THis has been the case since MX21.
I thought so, but I second guessed myself after reading the OP's question.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

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

#8 Post by zoli62 »

asqwerth wrote: Mon May 13, 2024 9:29 am
j2mcgreg wrote: Mon May 13, 2024 7:20 am
zoli62 wrote: Mon May 13, 2024 7:00 amNothing.
With the introduction of MX 23 we decided to make sudo the default method for performing administrative tasks. However during installation a user can opt for the traditional method if he / she wishes.
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.

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

#9 Post by zoli62 »

j2mcgreg wrote: Mon May 13, 2024 7:20 am
zoli62 wrote: Mon May 13, 2024 7:00 amNothing.
With the introduction of MX 23 we decided to make sudo the default method for performing administrative tasks. However during installation a user can opt for the traditional method if he / she wishes.
Thanks, that makes sense. What was the reason that sudo became the default for performing administrative tasks?

User avatar
j2mcgreg
Global Moderator
Posts: 6589
Joined: Tue Oct 23, 2007 12:04 pm

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

#10 Post by j2mcgreg »

zoli62 wrote: Mon May 13, 2024 12:49 pm
j2mcgreg wrote: Mon May 13, 2024 7:20 am
zoli62 wrote: Mon May 13, 2024 7:00 amNothing.
With the introduction of MX 23 we decided to make sudo the default method for performing administrative tasks. However during installation a user can opt for the traditional method if he / she wishes.
Thanks, that makes sense. What was the reason that sudo became the default for performing administrative tasks?
You will have to wait for someone on the development team to answer that. I can't remember their reasoning nor could I find it in a search of the forums.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

Post Reply

Return to “General”