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.

A couple of issues..

Discussion in 'General Discussion' started by SHSaeed, Aug 14, 2002.

  1. SHSaeed

    SHSaeed Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    Today I was looking through /etc/hosts and noticed 2 accounts where SSH was not disabled for. We do not allow SSH on the servers and none of our resellers have permission to create accounts with SSH. Yet, two accounts had the SSH path set to /bin/bash instead of /usr/local/cpanel/bin/noshell

    Possible bug?

    Another thing is since a week now, every other email that is sent to use when a new account is created does not get there. This is the error message we get:

    info@domain.com
    (ultimately generated from accounts@domain.com)
    unknown local-part &info& in domain &domain.com&


    Any ideas?
     
  2. ehsan

    ehsan Well-Known Member

    Joined:
    Dec 11, 2001
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    16
    SSH access

    Yeah, thats a bug(SSH ACCESS)
    remember few weeks ago we had the same issue ...
     
  3. kwimberl

    kwimberl Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    16
    I'm just curious how you noticed that from /etc/hosts

    :p
     
  4. mikerayner

    mikerayner Well-Known Member

    Joined:
    Apr 10, 2002
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    16
    [quote:8ba5d23c24][i:8ba5d23c24]Originally posted by kwimberl[/i:8ba5d23c24]

    I'm just curious how you noticed that from /etc/hosts

    :p [/quote:8ba5d23c24]
    it seems that was a typo read that /etc/passwd :p
     
  5. SHSaeed

    SHSaeed Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Yes, I meant /etc/passwd..

    Anyways, usually an account without SSH looks like this..

    accountname:x:123:456::/home/accountname:[b:77b0757784]/usr/local/cpanel/bin/noshell[/b:77b0757784]

    ..but I found a couple lines that were..

    accountname:x:123:456::/home/accountname:[b:77b0757784]/bin/bash[/b:77b0757784]
     
  6. mikerayner

    mikerayner Well-Known Member

    Joined:
    Apr 10, 2002
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    16
    I had the same bugs after build 53 , but no problem with build 60
     
  7. kwimberl

    kwimberl Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    16
    [quote:be9e980a1b][i:be9e980a1b]Originally posted by (SH)Saeed[/i:be9e980a1b]

    Yes, I meant /etc/passwd..
    [/quote:be9e980a1b]

    I know you did. Just making light of it and pointing it out so someone doesn't rack their brain trying to find it in /etc/hosts. LOL
     
Loading...

Share This Page