...But how? I tried editing the /etc/shadow file to remove the root password, with no success whatsoever. I basically would like my minimal template to behave like any other, that is, to have a passwordless root. Any help would be greatly appreciated!
Thanks for your Time,
Fab
Thanks for the replies! I have already installed sudo just doing
qvm-run -u root fedora-25-minimal xterm
as Marek suggested, and then installing sudo as I usually do via dnf. The problem is that now sudo asks for the root password anyway. If for instance I give
sudo dnf update
on a "standard" terminal shell, I will be prompted for a password.
I already checked at
https://www.qubes-os.org/doc/vm-sudo/
What I don't have there is the file and /etc/polkit-1/localauthority/50-local.d/qubes-allow-all.pkla. Should I add it?
Cheers,
Fab
The files mentioned in the first part of https://www.qubes-os.org/doc/vm-sudo/, namely:
/etc/sudoers.d/qubes
/etc/polkit-1/rules.d/00-qubes-allow-all.rules
/etc/polkit-1/localauthority/50-local.d/qubes-allow-all.pkla
are to be created/edited in the VM, not in Dom0. This effectively solves the problem.