LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-10-2012, 05:34 AM   #1
LittleMaster
Member
 
Registered: Jun 2012
Posts: 100
Blog Entries: 1

Rep: Reputation: Disabled
Passwordless Sudo Setup Error


Hi
I added the user bob to sudo group ,enabled nopasswd for sudo users visudo file .But itdoes not seems to be working



adduser bob sudo

And after that type visudo command and add or comment out following line:

%sudo ALL=NOPASSWD: ALL
 
Old 09-10-2012, 06:03 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
"adduser bob sudo" doesn't add bob to the sudo group at all. Did you check the manpage for it?

try "usermod -g sudo bob".

if sudo is still not working, look in your logs for information.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ssh Passwordless login error in centos backuppc error sanjay87 Linux - Server 5 05-21-2012 05:34 AM
[SOLVED] Passwordless SSH setup not working, any ideas? lefty.crupps Linux - Software 17 01-19-2012 12:32 AM
[SOLVED] sudo passwordless commands segmentation_fault Linux - Newbie 4 05-28-2011 10:07 PM
passwordless sudo to restart dhcpd psychobyte Linux - Security 1 01-12-2010 05:24 PM
Getting error "sudo: unable to execute ./setup: Success" d_girish_d Linux - Software 3 07-21-2009 12:33 AM


All times are GMT -5. The time now is 10:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration