sky
Verified User
- Joined
- Nov 12, 2004
- Messages
- 318
Hello
I have had a problem with a hacker putting lots of stuff in the squirrelmail directory (like 90go films and stuff).
To solv that i deleted squirrelmail and i installed ConfigServer Security & Firewall - csf v4.54.
Then i secured tmp dir explained here : http://www.directadmin.com/forum/showpost.php?p=150629&postcount=13
I also added munin, butr deleted since.
I dont know what i did wrhong, but nothing is added to /var/log/cron logs.
I checked if crond whas running and it is :
root 5438 0.0 0.0 3864 964 ? Ss 09:56 0:00 /usr/sbin/cron
Then i checked the directadmin_cron file and it does contain the correct lines.
I dont understand why no cron logs and written.
Ho yes, and the cron log file perms are : -rwxr-xr-x 1 root adm 0 2009-02-22 12:20 cron
I also forgot to say that i deleted some logs files my mistake, then recrated them.
Thaks for your help,
Sky
I have had a problem with a hacker putting lots of stuff in the squirrelmail directory (like 90go films and stuff).
To solv that i deleted squirrelmail and i installed ConfigServer Security & Firewall - csf v4.54.
Then i secured tmp dir explained here : http://www.directadmin.com/forum/showpost.php?p=150629&postcount=13
I also added munin, butr deleted since.
I dont know what i did wrhong, but nothing is added to /var/log/cron logs.
I checked if crond whas running and it is :
root 5438 0.0 0.0 3864 964 ? Ss 09:56 0:00 /usr/sbin/cron
Then i checked the directadmin_cron file and it does contain the correct lines.
* * * * * root /usr/local/directadmin/dataskq
2 0-23/6 * * * root echo 'action=vacation&value=all' >> /usr/local/directadmin/data/task.queue;
#5 5 * * 0 root /sbin/quotaoff -a; /sbin/quotacheck -augm; /sbin/quotaon -a;
10 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
20 4 1 * * root echo 'action=reset&value=all' >> /usr/local/directadmin/data/task.queue
0 4 * * * root echo 'action=check&value=license' >> /usr/local/directadmin/data/task.queue
I dont understand why no cron logs and written.
Ho yes, and the cron log file perms are : -rwxr-xr-x 1 root adm 0 2009-02-22 12:20 cron
I also forgot to say that i deleted some logs files my mistake, then recrated them.
Thaks for your help,
Sky