Hide Forgot
Description of problem: When attempting to switch to another user, `sudo su <user>` where `<user>` is not `root` in the Vagant Fedora Cloud Base boxes does not work. This is as the contents of /etc/sudoers.d/vagrant-nopasswd are incorrect. Version-Release number of selected component (if applicable): Fedora-Cloud-Base-Vagrant-24-1.2.x86_64.vagrant-libvirt.box Steps to Reproduce: $ vagrant box add https://download.fedoraproject.org/pub/fedora/linux/releases/24/CloudImages/x86_64/images/Fedora-Cloud-Base-Vagrant-24-1.2.x86_64.vagrant-libvirt.box --name fedora/cloud-base $ vagrant init fedora/cloud-base $ vagrant up --provider=libvirt $ vagrant ssh --command 'sudo useradd testuser' $ vagrant ssh --command 'sudo --user testuser pwd' Actual results: Password prompt to switch users or permission denied message. Expected results: Successful user switch. Additional info: Just need to make the following patch: diff --git a/vagrant-nopasswd b/vagrant-nopasswd index 6b59f02..f892bc1 100644 --- a/vagrant-nopasswd +++ b/vagrant-nopasswd @@ -1 +1 @@ -vagrant ALL=NOPASSWD: ALL +vagrant ALL=(ALL) NOPASSWD: ALL
Hi Steve, Unfortunately this not the right place for such error. This is just to report issues with the package, not with the boxes. Atomic WG tracker [1] should be the right place if I am not mistaken. [1] https://pagure.io/atomic-wg