Santa brings you ArcoLinux -D -B 19.12

[SOLVED] sudo nopasswd not working

First check the forums - Do not know where to put it then put it here
Post Reply
userx-bw
Crewman
Posts: 28
Joined: Thu May 16, 2019 2:51 am
United States of America
[SOLVED] sudo nopasswd not working

Post by userx-bw » Thu May 16, 2019 2:56 am

just installed the xfce4 one, edit sudoers,

Code: Select all

## Same thing without a password
 %wheel ALL=(ALL) NOPASSWD: ALL
in every terminal I use I still have to enter my password.

Code: Select all

[userx@archooo ~]$ groups
sys network scanner power users video storage optical lp audio wheel userx
why and how do I fix that?

User avatar
erikdubois
Captain
Posts: 2685
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:
Belgium
Re: [OPEN] sudo nopasswd not working

Post by erikdubois » Thu May 16, 2019 6:35 am

There is this command on any Arch Linux

sudo visudo

like here

https://arcolinuxd.com/6-the-actual-ins ... x-phase-2/

and we have the calamares installer that creates this file

/etc/sudoers.d/10-installer

a catfish search with sudoers will give you that

change anything you want there too
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.

userx-bw
Crewman
Posts: 28
Joined: Thu May 16, 2019 2:51 am
United States of America
Re: [OPEN] sudo nopasswd not working

Post by userx-bw » Thu May 16, 2019 2:11 pm

erikdubois wrote:
Thu May 16, 2019 6:35 am
There is this command on any Arch Linux

sudo visudo

like here

https://arcolinuxd.com/6-the-actual-ins ... x-phase-2/

and we have the calamares installer that creates this file

/etc/sudoers.d/10-installer

a catfish search with sudoers will give you that

change anything you want there too
nnaaa no visosudo for me yo!
after I posted, as I had cat the file, I was sitting here and happened to glance up at it. Noticing that last line in the sudo file, which in ture sparked a memory as I stared at it momentarily. So I went into /etc/sudoers.d, and sure enough there it was. That little file that over rides everything. So I deleted it.

Problem solved.

so Yes it was the 10-installer file after all. I'd forgotten about distros like this that uses that.
Thanks for the memories.


Post Reply

Return to “General Questions”