Sudo asking for pass

General support questions
Post Reply
ytd
Posts: 1
Joined: 2017/06/06 18:07:54

Sudo asking for pass

Post by ytd » 2017/06/06 18:12:46

I have added my user to my wheelgroup and in visudo. Set 'PermitRootLogin no' for some reason when i switch user and issue a sudo command it still asks for a password. How can i fix this issue?

Thanks

lightman47
Posts: 1522
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: Sudo asking for pass

Post by lightman47 » 2017/06/12 13:08:40

I'm by no means an expert, and I don't know what your directive does. However, toward the bottom, I UN-commented each of these (to look like this):

Code: Select all

%wheel  ALL=(ALL)       ALL
%wheel  ALL=(ALL)       NOPASSWD: ALL

Post Reply