LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-25-2006, 09:20 PM   #1
nilecirb
LQ Newbie
 
Registered: Jul 2005
Posts: 21

Rep: Reputation: 15
Sudo - Active Directory group not recognized


For some reason, sudo does not recognize my Active Directory groups. Winbind (wbinfo, getent, and the such) works as intended, even returning the group in question. I even tried using one of the users from that Active Directory group, which sudo recognized without problems.

Basically,
Code:
%2007 ALL=(ALL) ALL
does not work, but
Code:
nilecirb ALL=(ALL) ALL
does. What could cause something like this to occur?

Thanks in advance,
nilecirb

UPDATE: Trying the primary group listed in getent passwd works, but does not achieve my ideal implementation. Has anyone gotten it working with secondary groups?

Last edited by nilecirb; 08-26-2006 at 02:24 AM.
 
Old 08-26-2006, 09:24 AM   #2
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
  • What distro are you using?
  • Especially, is it one of the *buntu's?
  • Have you looked at this as a sudo problem?
 
Old 08-26-2006, 05:34 PM   #3
nilecirb
LQ Newbie
 
Registered: Jul 2005
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks for replying, archtoad6. As a matter of fact, it's running Kubuntu. It's definitely possible that sudo's the one causing all the problems, but how would I determine if that's the case? I just tested local secondary groups with sudo, and those work perfectly.
 
Old 08-28-2006, 11:27 AM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
One of the reasons that I don't (at least yet) run Kubuntu is the use of sudo rather than a properly set up root acct. As a result, I am probably not the best one to advise you.

If it's a Q of getting root privileges for a CLI command, try:
Code:
sudo su
or, if possible:
Code:
sudo su -
If it's a Q of a script not working, then setting up a root password might fix the problem:
Code:
sudo passwd
If none of this helps, try the Ubuntu forum or web site.
 
Old 08-28-2006, 11:09 PM   #5
nilecirb
LQ Newbie
 
Registered: Jul 2005
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by archtoad6
If it's a Q of getting root privileges for a CLI command, try:
Code:
sudo su
or, if possible:
Code:
sudo su -
The problem seems to lie more with sudo authentication than whatever command sudo tried to run. sudo <foo> does not work at all, whether <foo> is "su -" or any other command. My suspicions lean toward the way the sudo in Ubuntu's apt repository is configured. Anyone else have any ideas about the matter or have successfully authenticated with secondary AD groups using Ubuntu's sudo?
 
  


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
Fedora Directory Server sync Active Directory paul_mat Linux - Networking 8 03-08-2007 10:51 AM
Active Directory on Linux abhijeetudas Linux - Software 15 05-02-2006 10:16 AM
accessing of directory using sudo users abhis_mail2002 Fedora 3 02-22-2006 03:34 AM
Sudo Group CrimsonSparc Linux - Newbie 17 06-14-2005 02:54 AM
sudo changes the owner and the group of some my files and now I can't enter in X Ali79 Linux - Software 5 12-10-2004 01:01 PM


All times are GMT -5. The time now is 01:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration