Which ISO version are you using?
2025.05.01 Archinstall 3.0.5
The installation log
describe the problem
Description
After installing Arch Linux 6.14.4-arch1-2 (2025.05.01) using the latest version of the archinstall guided script, I encountered an issue where the newly created user is not able to use sudo, even though I explicitly selected the option to allow the user to use sudo during the setup.
Steps Taken During Install
Used the guided installer (archinstall).
Chose btrfs, systemd-boot, minimal profile, and pipewire.
During the user setup:
Created a new user.
Set the password and confirmed it.
Checked the option: “User can use sudo”.
Completed the installation successfully.
Observed Behavior
After logging into the TTY with the newly created user and attempting a sudo command:
$ sudo vim /etc/pacman.conf
[sudo] password for user:
user is not in the sudoers file. This incident will be reported.
Additional Notes
sudo is installed on the system , i always chroot after install to change fstab relatime to noatime , it did work on chroot i was able to use sudo and install vim and edit fstab , its when i remove my usb and boot into the os and try to use sudo the error pops user is not in the sudoers file
There is a new "group" field next to the username in the user creation step of archinstall, but it remains empty, even when "User can use sudo" is selected.
I suspect the installer is failing to add the user to the wheel group, which is necessary for sudo access when using the default sudoers configuration.
Expected behavior: Selecting “User can use sudo” should automatically add the user to the wheel group.
Expected Result
The user should be a member of the wheel group and added to sudoers file.
The sudoers file should allow wheel group members to execute commands via sudo.
Which ISO version are you using?
2025.05.01 Archinstall 3.0.5
The installation log
Installs successfully.describe the problem
Description
After installing Arch Linux 6.14.4-arch1-2 (2025.05.01) using the latest version of the archinstall guided script, I encountered an issue where the newly created user is not able to use sudo, even though I explicitly selected the option to allow the user to use sudo during the setup.
Steps Taken During Install
Used the guided installer (archinstall).
Chose btrfs, systemd-boot, minimal profile, and pipewire.
During the user setup:
Created a new user.
Set the password and confirmed it.
Checked the option: “User can use sudo”.
Completed the installation successfully.
Observed Behavior
After logging into the TTY with the newly created user and attempting a sudo command:
Additional Notes
sudo is installed on the system , i always chroot after install to change fstab relatime to noatime , it did work on chroot i was able to use sudo and install vim and edit fstab , its when i remove my usb and boot into the os and try to use sudo the error pops
user is not in the sudoers fileThere is a new "group" field next to the username in the user creation step of archinstall, but it remains empty, even when "User can use sudo" is selected.
I suspect the installer is failing to add the user to the wheel group, which is necessary for sudo access when using the default sudoers configuration.
Expected behavior: Selecting “User can use sudo” should automatically add the user to the wheel group.
Expected Result
The user should be a member of the wheel group and added to sudoers file.
The sudoers file should allow wheel group members to execute commands via sudo.