void-mklive icon indicating copy to clipboard operation
void-mklive copied to clipboard

username is not in the sudoers file

Open johna23-lab opened this issue 3 years ago • 5 comments

It's been a few weeks since I updated void-mklive all the installation goes fine, once installed and rebooted when I try to update or install a package with "sudo xbps..." or just type "sudo" it tells me that the user is not in the sudoers file.

I know that one of the solutions is to do su visudo and remove from the line the # "# %wheel ALL=(ALL:ALL) ALL"

The question is how to do it automatically like the old installers? Thanks!

johna23-lab avatar Aug 12 '22 14:08 johna23-lab

nothing has changed with the sudoers generation in 5 years, and there have been very few commits to the installer since the last official images. Did you generate your own live image? Did you select the wheel group when creating your user in the installer?

classabbyamp avatar Aug 12 '22 16:08 classabbyamp

"nothing has changed with the sudoers generation in 5 years" That's the strange

"Did you generate your own live image?" Yes, but i hapen too with anoher generated images like this one https://voidbuilds.xyz/

"Did you select the wheel group when creating your user in the installer?" By default is already selected

johna23-lab avatar Aug 12 '22 17:08 johna23-lab

I can reproduce this with a new base image, the user is in the wheel group, but sudoers is not edited to allow sudo for the wheel group.

paper42 avatar Aug 12 '22 19:08 paper42

maybe this is fixed by #263

paper42 avatar Aug 12 '22 19:08 paper42

maybe this is fixed by #263

#263 was indeed used to solve this issue.

hervyqa avatar Aug 13 '22 01:08 hervyqa

fixed in #263

classabbyamp avatar Sep 03 '22 03:09 classabbyamp