Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

SSH command to suspend an email account in Fifty4?

Discussion in 'E-mail Discussions' started by Secmas, Feb 5, 2016.

  1. Secmas

    Secmas Well-Known Member

    Joined:
    Feb 18, 2005
    Messages:
    328
    Likes Received:
    1
    Trophy Points:
    168
    Hi,
    is there a guide on how to use the new feature to suspend accounts in cpanel?

    I want to know what are the SSH commands to suspend the account for login in.

    Thanks in advance.

    Regards,
    Sergio
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,610
    Likes Received:
    51
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    /scripts/suspendacct
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,681
    Likes Received:
    299
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,220
    Likes Received:
    1,376
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  5. Secmas

    Secmas Well-Known Member

    Joined:
    Feb 18, 2005
    Messages:
    328
    Likes Received:
    1
    Trophy Points:
    168
    Thank you, cPanelMichael for the info.

    I was looking for the corresponding SSH commands so I can create a shebang to do an automatic script to block compromised emails accounts.

    Do you mind to share the respective commands?

    Thanks a lot in advance.

    Regards,
    Sergio
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,220
    Likes Received:
    1,376
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    There are no corresponding SSH commands, however you could develop a custom script that utilizes those UAPI functions and then run the custom script from the command line.

    Thank you.
     
Loading...

Share This Page