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.

Another unbelievable problem

Discussion in 'General Discussion' started by kardukov, Sep 19, 2003.

  1. kardukov

    kardukov Active Member

    Joined:
    Sep 15, 2003
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Russian Federation
    1. useradd test
    2. passwd test

    *****
    *****

    3. su test
    could not open session

    user's shell is exists.

    I really don't understand that happend with my server. No one couldn't login expect root.

    cPanel.net Support Ticket Number:
     
  2. Stefaans

    Stefaans Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    451
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Vancouver, Canada
    Not 100% sure, but I think you have to add your user test to the wheel group before you can su. Or is it only to be able to su - ?

    cPanel.net Support Ticket Number:
     
  3. orca

    orca Well-Known Member

    Joined:
    Sep 23, 2002
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Switzerland
    Yep, you need to add the user to the wheel group...or disable the function to exclude users from that command.

    cPanel.net Support Ticket Number:
     
  4. netwrkr

    netwrkr Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    16
    If you have /bin/su setup so only the 'wheel' group can use 'su' ie. -rwsr-x--- 1 root wheel 19132 Aug 29 2002 /bin/su*


    then the user that is attempting to use 'su' needs to be in the wheel group.

    In the above example you wouldn't put user 'test' in the wheel group you would put the user that is executing the su command. And once you add that user, you will need to log out and back in again for the group id (gid) to take effect -- login as that user and type 'id' and verify you see 'groups=10(wheel)'.


    TP

    cPanel.net Support Ticket Number:
     
  5. kardukov

    kardukov Active Member

    Joined:
    Sep 15, 2003
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Russian Federation
    I added user to the group wheel. Nothing was changed.

    I can't connect with my test user via 'Putty' program to the SSH server.

    Maybe, send a root password to the cPanel stuff?? I with my colleague exhaust all ideas.

    cPanel.net Support Ticket Number:
     
    #5 kardukov, Sep 22, 2003
    Last edited: Sep 22, 2003
  6. netwrkr

    netwrkr Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    16
    Does the user you just created have a valid login shell ie. /bin/bash in /etc/passwd ?

    cPanel.net Support Ticket Number:
     
  7. kardukov

    kardukov Active Member

    Joined:
    Sep 15, 2003
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Russian Federation
    Of course, YES

    cPanel.net Support Ticket Number:
     
  8. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,506
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    Maybe it was just the example used, but -- ID & PW should not be the same. Also, first time you login with Putty you get a msg. about the license ID sharing -- did you get that msg.?

    cPanel.net Support Ticket Number:
     
  9. netwrkr

    netwrkr Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    16
    I only ask because you are attempting to do something other Unix administrators have been doing successfully for decades....

    cPanel.net Support Ticket Number:
     
  10. kardukov

    kardukov Active Member

    Joined:
    Sep 15, 2003
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Russian Federation
    I deleted RedHat 9.0 OS and replaced it with FreeBSD5.0

    cPanel.net Support Ticket Number:
     
  11. netwrkr

    netwrkr Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    16
    thanks for the update?

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page