Suspending account with access to cpanel.
Hello,
Im interested in modifying the suspendacct script, to be able to suspend an account completely, but to grant access in the same time to cPanel, so the client can resolve the issues with his Site/account.
I commented out the line #system( 'passwd', '-l', $user ); so it doesnt puts !! in /etc/shadow next to the account pass but still wasn't able to log in and the account doesn't shows as suspended in WHM(it appears after i insert manually the !! before pass)
-
That's not the intent of account suspension. If you want to restrict public access to the customer's website then you should reduce its bandwidth quota. That allows your customer to login to cPanel, and other services to adjust whatever you need him to adjust. Afterward you can restore the bandwidth quota to the proper amount. 0 -
If i reduce the bandwith quota just the site will be unaccesible?for example if it was inserted a malicious script on the account wich sends spam mails its not gonna stop that. 0 -
Hello :) You can vote and add your feedback to the following feature request: Partial supension for cPanel accounts Thank you. 0 -
If i reduce the bandwith quota just the site will be unaccesible?for example if it was inserted a malicious script on the account wich sends spam mails its not gonna stop that.
Correct. Reducing the bandwidth quota will prevent Apache from serving more data. If the problem is email related in version 54 we provide the means to disable email accounts: 54 Release Notes - Documentation - cPanel Documentation That may or may not meet your needs.0
Please sign in to leave a comment.
Comments
4 comments