Page 2 of 2
Re: For some operations that require elevated privileges, the user's password is sufficient instead of the root password
Posted: Mon May 13, 2024 3:59 pm
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.
Re: For some operations that require elevated privileges, the user's password is sufficient instead of the root password
Posted: Tue May 14, 2024 6:45 am
by asqwerth
zoli62 wrote: Mon May 13, 2024 12:46 pm
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.
Re: For some operations that require elevated privileges, the user's password is sufficient instead of the root password
Posted: Wed May 15, 2024 8:08 am
by zoli62
asqwerth wrote: Tue May 14, 2024 6:45 am
zoli62 wrote: Mon May 13, 2024 12:46 pm
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.
Re: For some operations that require elevated privileges, the user's password is sufficient instead of the root password
Posted: Wed May 15, 2024 9:00 am
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.