Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Server Platforms
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Server Platforms
Discussion regarding the Ubuntu Server Edition. For more information on the Ubuntu Server Team, please visit their wiki page or Launchpad page.

 
Thread Tools Display Modes
Old July 23rd, 2008   #1
faust_
First Cup of Ubuntu
 
Join Date: Oct 2007
Beans: 2
Domain user into sudoers

Hi!
I'm using ubuntu server edition. And connecting to windows domain using Likewise open, but I can't use domain user as sudoer. I have added domain user into sudoers (using visudo):
domain\user ALL=(ALL) ALL
but when I use

sudo some command
it tells that user is not in sudoers list..

Help!
faust_ is offline   Reply With Quote
Old July 23rd, 2008   #2
jdavis
Just Give Me the Beans!
 
jdavis's Avatar
 
Join Date: Apr 2006
Location: Manchester, UK
Beans: 62
Ubuntu 9.10 Karmic Koala
Send a message via MSN to jdavis
Re: Domain user into sudoers

The following post makes reference to using two slashes rather than one in sudoers.

so try:
domain\\user ALL=(ALL) ALL

rather than:
domain\user ALL=(ALL) ALL

http://lists.likewisesoftware.com/pi...ry/000116.html
jdavis is offline   Reply With Quote
Old July 24th, 2008   #3
faust_
First Cup of Ubuntu
 
Join Date: Oct 2007
Beans: 2
Re: Domain user into sudoers

Quote:
Originally Posted by jdavis View Post
The following post makes reference to using two slashes rather than one in sudoers.

so try:
domain\\user ALL=(ALL) ALL

rather than:
domain\user ALL=(ALL) ALL

http://lists.likewisesoftware.com/pi...ry/000116.html
that doesn't helped..
he writes that user is not in sudoers list
faust_ is offline   Reply With Quote
Old August 7th, 2008   #4
jcbwalsh
5 Cups of Ubuntu
 
Join Date: Apr 2006
Location: Nashua, NH, USA
Beans: 21
Ubuntu 8.04 Hardy Heron
Re: Domain user into sudoers

I had the same problem and using the \\ worked perfectly for me.
jcbwalsh is offline   Reply With Quote
Old October 1st, 2008   #5
likeWiseGuy
5 Cups of Ubuntu
 
Join Date: Sep 2008
Beans: 21
Re: Domain user into sudoers

Quote:
Originally Posted by faust_ View Post
that doesn't helped..
he writes that user is not in sudoers list
Hi faust.

Are you still seeing this issue with sudoers? The recommended approach of using "\\" instead of "\" should do the trick for you. If it doesn't, let me know and maybe I can assist.

Thanks.
__________________
Facundo
Software Design Engineer
http://likewisesoftware.com/products...open/index.php
likeWiseGuy is offline   Reply With Quote
Old October 27th, 2008   #6
mdarden
First Cup of Ubuntu
 
Join Date: Jan 2008
Beans: 2
Re: Domain user into sudoers

likeWiseGuy,

I would like to do something similar, and have seen success with Domain\\username, but I need help with groups. For example, I'd like all Domain Users to have sudo rights. How do I do that?


Thanks,
Marcus
mdarden is offline   Reply With Quote
Old October 27th, 2008   #7
mdarden
First Cup of Ubuntu
 
Join Date: Jan 2008
Beans: 2
Re: Domain user into sudoers

I figured it out!!

%DOMAIN\\domain^users ...
mdarden is offline   Reply With Quote
Old February 5th, 2009   #8
masterJanky
First Cup of Ubuntu
 
Join Date: Jul 2007
Location: Nixa, MO
Beans: 2
Ubuntu 8.04 Hardy Heron
Send a message via Skype™ to masterJanky
Re: Domain user into sudoers

Does this only work on Domain Users? I tried to throw the Domain Admins group in there, but no dice. Anybody come across this?
masterJanky is offline   Reply With Quote
Old February 15th, 2009   #9
brian mcgee
Just Give Me the Beans!
 
brian mcgee's Avatar
 
Join Date: Aug 2008
Beans: 63
Ubuntu 9.04 Jaunty Jackalope
Re: Domain user into sudoers

Quote:
Originally Posted by masterJanky View Post
Does this only work on Domain Users? I tried to throw the Domain Admins group in there, but no dice. Anybody come across this?
Domain admins group works fine for me. Add:

Code:
%DOMAIN\\domain^admins ALL=(ALL) ALL
Also, if you added:

Code:
winbind use default domain = yes
To

Code:
/etc/samba/lwiauthd.conf
You should be able to add a domain user as a sudoer by adding this to your sudoers file:

Code:
USER ALL=(ALL) ALL
I don't need the "DOMAIN\\" prefix
brian mcgee is offline   Reply With Quote
Old April 9th, 2009   #10
pwebster25
5 Cups of Ubuntu
 
pwebster25's Avatar
 
Join Date: Feb 2008
Location: Idaho
Beans: 41
Ubuntu 9.04 Jaunty Jackalope
Re: Domain user into sudoers

Also, if you added:

Code:
winbind use default domain = yes
To

Code:
/etc/samba/lwiauthd.conf
If I do this will I be able to login to the machine itself or just into the domain? What if I am working offline?

Can I get the computer to adopt the user rights that are established on the domain?
pwebster25 is offline   Reply With Quote

Bookmarks

Tags
domain, likewise

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:05 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry