2
votes
1answer
106 views

Adding sudoer for all but root

Here is the base of my problem: I would like to add sudo rights to a user, but not to use it as root for security reasons. I have a PHP script needing to run a command (drush) through exec(). ...
0
votes
1answer
45 views

500 error after changing directory permission on wordpress

I changed the permission of uploads directory of wordpress on cpanel file manager. After that my site started to give 500 error on homepage. I didn't do anything else. After that I changed the ...
0
votes
0answers
29 views

Cpanel cron timing issue

I am running a cpanel server. I set a cron task to run every minute. So in my cron tab I set like below- * * * * * php /path_to_script >/dev/null 2>&1 Initially the task added ...
2
votes
1answer
385 views

Find out what's causing high server load?

If a server has become inaccessible via SSH due to high load, I would usually restart it. How do you usually find out the cause of the high load (e.g., what process, how much RAM/CPU was used, etc.)? ...
0
votes
2answers
777 views

DDoS attack on SMTP

I am not sure whether this is the right place to ask this. But now I am in a great difficult situation. Our server is undergoing SMTP DDoS attack. The mail service has been totally down. We have ...
1
vote
1answer
324 views

How to setup cPanel with multiple hard drives on dedicated server

I have a dedicated server with OVH for my website that has 2x2TB SATA3 hard drives. Currently I am using about 12GB with files and MySQL databases, however, an email notification I got from them told ...
1
vote
3answers
73 views

Prevent users from using the same cron schedule?

I've a lot of users in my server using exactly the same cron schedule and this is causing high server load. Can we prevent this? For example, if there's x numbers of users that use the following cron ...
1
vote
1answer
330 views

How to edit multiple cpanel user cron jobs at once?

I'm using cat /var/spool/cron/* to view all cron jobs created by all cpanel users. Is it possible to edit its output just like editing via nano and hit save?
0
votes
1answer
51 views

Size of a folder on server

I have a magento store running on a shared hosting server. We are in process of migrating the site and need to know the size of particular folders like media etc. This will help us getting the size ...
2
votes
1answer
615 views

Notify when normal user changes to root?

Would it be possible that when a normal user logs in to root via su command an email notification will be sent?
0
votes
1answer
245 views

CentOS, cannot create ftp user

I have VPS and I installed cPanel & WHM and everything works, but i tried to add user with "useradd -m user -d /home/cs/user" and it worked, I added password and tried to login in ftp, and it ...