Is it me or is it sudo?

ny6p01 at gmail.com ny6p01 at gmail.com
Wed Mar 28 17:35:38 UTC 2012


On Wed, Mar 28, 2012 at 09:18:50AM -0400, Mark Haney wrote:
> I'm kinda confused by the sudo problem I'm having.  I've edited the main 
> file with visudo to include:
> 
> ## Allow root to run any commands anywhere
> root    ALL=(ALL)       ALL
> markh   ALL=(ALL)       NOPASSWD: ALL

I have this, using the group, not the user.

%wheel ALL=(ALL) NOPASSWD: ALL

However, sometimes a space makes all the difference (silly, I know). Have
you tried adding spaces like so: markh    ALL = (ALL)    NOPASSWD: ALL



> 
> (obviously only the last line was my addition)
> 
> But for some reason, it makes no difference at all. I'm still required 
> to input my password.  What gives?  I've not had this problem before so 
> I don't know where to start.
> 
> -- 
> 
> Mark Haney
> Software Developer/Consultant
> AB Emblem
> markh at abemblem.com
> Linux marius.homelinux 3.3.0-4.fc16.x86_64 GNU/Linux
> -- 
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org


More information about the users mailing list