PDA

View Full Version : [ubuntu] Domain user into sudoers


faust_
July 23rd, 2008, 07:41 AM
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!

jdavis
July 23rd, 2008, 08:37 AM
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/pipermail/likewise-open-discuss/2008-February/000116.html

faust_
July 24th, 2008, 02:51 AM
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/pipermail/likewise-open-discuss/2008-February/000116.html

that doesn't helped.. :(
he writes that user is not in sudoers list

jcbwalsh
August 7th, 2008, 05:05 PM
I had the same problem and using the \\ worked perfectly for me.

likeWiseGuy
October 1st, 2008, 08:30 PM
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.

mdarden
October 27th, 2008, 10:01 AM
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
October 27th, 2008, 02:39 PM
I figured it out!!

%DOMAIN\\domain^users ...