View Full Version : [ubuntu] Sudo for Microsoft Active Directory Users
March 5th, 2009, 11:44 AM
I have a problem with Ubuntu 8.10: When I joined Ubuntu to Microsoft AD by likewise-open, the user domain can't use sudo -i command. It's notice: "DOMAIN\user is not in the sudoers file. This incident will be reported".
I used vi to insert a row "DOMAIN\user ALL=(ALL) ALL" to the sudoers file. But it not run.
Plz help me!
March 5th, 2009, 11:48 AM
Replace DOMAIN\user with your name, and use visudo to edit the sudoers file maybe?
I believe someone else had this problem this week. Do a search.
March 6th, 2009, 03:15 AM
I want some domain user can use sudo command.
And I used visudo to edit the sudoers file, but when I inserted command
DOMAIN\User01 ALL=(ALL)ALL to add domain user User01 in the suders file. The user User01 still can't use sudo -i command. Any body show me how-to?
Anyway, thank Yashiro alot :)
March 6th, 2009, 05:02 AM
Try just the account name without domain\ attached?
Or make a real account on the machine with the same name?
I can't help a great deal as I don't have my old network around to test.
March 7th, 2009, 04:32 AM
I'm sorry, I show you what i want:
I have a acount user01, this account can't use sudo command.
If I want to use sudo command, I must use the other account (user02)
But when I'm using user01, I want to use sodu command but I don't want to logoff then logon by user02.
How can I do? Can you show me the how-to? Thanks alot :)
March 7th, 2009, 04:06 PM
You just log in as the other user.
Use 'su' not sudo. su - otheruser
Then you can use sudo from that account.
March 9th, 2009, 02:58 AM
Thanks you very much Yashiro! I'm done :)
March 9th, 2009, 09:03 AM
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.