The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Using Active Directory Unable to - su

Discussion in 'General Discussion' started by cheesestick, Jan 29, 2016.

  1. cheesestick

    cheesestick Registered

    Joined:
    Jan 29, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Edmond
    cPanel Access Level:
    Root Administrator
    This is my first cPanel on an AD enabled Linux box (centos 6.7)

    We've got it set up to authenticate user accounts against a domain controller with a specific group membership. From there, we usually su - for any real work.

    After cPanel install, the su gets permissions changed so that you have to be part of wheel.

    on the cPanel WHM, there is an option to add users, but it can't see anything about the Active Directory environment.

    I'm not really sure what I need to do now to enable su - for my AD enabled admin users. I could just change the file permissions, but that seems like it's breaking some sort of security that cPanel is trying to help me with.

    Ideas?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. cheesestick

    cheesestick Registered

    Joined:
    Jan 29, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Edmond
    cPanel Access Level:
    Root Administrator
    Alright, in that case does anyone know of any issues with putting the permissions back to their original state on the su bin? (I'm going to give it a go; this is a test setup for the moment).

    Thanks
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Here are the default permission/ownership values for /bin/su on a test system:

    Code:
      File: ‘/bin/su’
      Size: 32072         Blocks: 64         IO Block: 4096   regular file
    Device: fd01h/64769d    Inode: 25241336    Links: 1
    Access: (4750/-rwsr-x---)  Uid: (    0/    root)   Gid: (   10/   wheel)
    Thank you.
     
Loading...

Share This Page