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.

Suspend accounts don't work

Discussion in 'General Discussion' started by ruber, Nov 24, 2007.

  1. ruber

    ruber Member

    Joined:
    Jun 5, 2007
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    When I try to suspend accounts on WHM, it returns no error, it shows account as suspended, but the sites are still acessible. I had tried upcp --force, but even updating this bug wasn't fixed. Can someone help? ;\
     
  2. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    I am sure cpanel staff would suggest the same thing, but I would submit a ticket to cpanel.
     
  3. yapluka

    yapluka Well-Known Member

    Joined:
    Dec 24, 2003
    Messages:
    301
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    France
    cPanel Access Level:
    Root Administrator
    I have seen the very same issue lately. The suspension process would complain that /bin/false was not in the shells list, so I added it, then unsuspended the accounts and suspended them again and it did the trick. Maybe just unsuspending/suspending again would make it, too...

    Good luck :)
     
  4. ruber

    ruber Member

    Joined:
    Jun 5, 2007
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    How I add /bin/false to shell?
     
  5. yapluka

    yapluka Well-Known Member

    Joined:
    Dec 24, 2003
    Messages:
    301
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    France
    cPanel Access Level:
    Root Administrator
    If the line doesn't exist in your /etc/shells, this command will add it :

    Code:
    echo '/bin/false' >> /etc/shells
     
  6. n3tph4t

    n3tph4t Active Member

    Joined:
    Jan 31, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    /etc/shells > and add /bin/false
     
Loading...

Share This Page