Page 1 of 1

Diferents users to use for unblock IP's

Posted: 10 May 2021, 23:56
by Benitobr
Hello,

I would like to know if it is possible to use different users without having whm installed on my server, on this server I have a different application but I want to create users that can only unblock IP's.

Thanks.

Re: Diferents users to use for unblock IP's

Posted: 19 May 2021, 05:47
by Sergio
To unblock IPs you need to access the server as root to proceed.
So,if you want different users to unblock IPs, them will need to be logged as root.

If you don't want to give them a root access, one work around could be to write a code where when an email is send to a defined email address, the script could read the IP and proceed to unblock it.

In cPanel you can redirect an email to an script using the "Email Filter" option on the email account.