[Testing Update] 2022-02-01 - Kernels, Pipewire 0.3.44, Qt5, Mesa 21.3.5, Wine 7.0

Yeah that is what I figured, no package seems to own it, this file isn’t owned by anything (tried pacman -Qo, tried pacman -F, tried pkgfile, tried google too which pointed me to results where this file also exist on other distribution), so it maybe is a leftover from initial installation, but it is hard to find its origin in Manjaro. But if it is a leftover, then that would mean without it we wouldn’t be able to sudo (because we don’t have the corresponding line enabled in /etc/sudoers) so I don’t know something is still weird with that theory.

I also think we can leave it or add the third ALL that wouldn’t change a lot for most/all users. I will keep the file in sudoers.d (and add the third ALL) and leave the sudoers file as default, with wheel line commented.

//EDIT: I will try to install Manjaro on VM to see if the file exist on old/current ISO installation, for the sake of curiosity.

//EDIT2: this file /etc/sudoers.d/10-installer is created at installation apparently, it is not owned by anything, but it is there at first boot of an installation (manjaro-kde-21.0.6-210607-linux510.iso).

//EDIT3: I found it, it is in the Calamares installer configuration file (users.conf), this is indeed created during the installation process:

# When *sudoersGroup* is set to a non-empty string, Calamares creates a
# sudoers file for the user. This file is located at:
#     `/etc/sudoers.d/10-installer`
# Remember to add the (value of) *sudoersGroup* to *defaultGroups*.
#
# If your Distribution already sets up a group of sudoers in its packaging,
# remove this setting (delete or comment out the line below). Otherwise,
# the setting will be duplicated in the `/etc/sudoers.d/10-installer` file,
# potentially confusing users.
sudoersGroup:    wheel

So yeah, by default no one should have the wheel line enabled in /etc/sudoers but should have the 10-installer file with the wheel group privileges.

:male_detective:

4 Likes