Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Domain user into sudoers

  1. #1
    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!

  2. #2
    Join Date
    Apr 2006
    Location
    Manchester, UK
    Beans
    62
    Distro
    Ubuntu 9.10 Karmic Koala

    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

  3. #3
    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

  4. #4
    Join Date
    Apr 2006
    Location
    Nashua, NH, USA
    Beans
    23
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Domain user into sudoers

    I had the same problem and using the \\ worked perfectly for me.

  5. #5
    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.

  6. #6
    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

  7. #7
    Join Date
    Jan 2008
    Beans
    2

    Re: Domain user into sudoers

    I figured it out!!

    %DOMAIN\\domain^users ...

  8. #8
    Join Date
    Jul 2007
    Location
    Nixa, MO
    Beans
    5
    Distro
    Ubuntu 8.04 Hardy Heron

    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?

  9. #9
    Join Date
    Aug 2008
    Beans
    89
    Distro
    Ubuntu 11.04 Natty Narwhal

    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

  10. #10
    Join Date
    Feb 2008
    Location
    Idaho
    Beans
    84
    Distro
    Edubuntu 10.04 Lucid Lynx

    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?

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •