For some operations that require elevated privileges, the user's password is sufficient instead of the root password
For some operations that require elevated privileges, the user's password is sufficient instead of the root password
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.
Re: For some operations that require elevated privileges, the user's password is sufficient instead of the root password
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.
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.
- 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
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
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
Re: For some operations that require elevated privileges, the user's password is sufficient instead of the root password
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.
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.
Re: For some operations that require elevated privileges, the user's password is sufficient instead of the root password
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
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
Re: For some operations that require elevated privileges, the user's password is sufficient instead of the root password
I thought so, but I second guessed myself after reading the OP's question.asqwerth wrote: ↑Mon May 13, 2024 9:29 amhttps://mxlinux.org/blog/mx-21-wildflower-released/
THis has been the case since MX21.
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.
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.
Re: For some operations that require elevated privileges, the user's password is sufficient instead of the root password
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.asqwerth wrote: ↑Mon May 13, 2024 9:29 amhttps://mxlinux.org/blog/mx-21-wildflower-released/
THis has been the case since MX21.
Re: For some operations that require elevated privileges, the user's password is sufficient instead of the root password
Thanks, that makes sense. What was the reason that sudo became the default for performing administrative tasks?
Re: For some operations that require elevated privileges, the user's password is sufficient instead of the root password
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.
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.