1,723 reputation
58
bio website
location
age
visits member for 4 years, 4 months
seen 19 hours ago

May
17
comment how to set static IP address in opensolaris
glad i could help. And i really appreciate that you didn't take my answer as mean spirited, as it was never intended to be that way.
May
17
comment Apache expands REQUEST_FILENAME with filetype
You should update your post to also include the rules that do the first rewrite.
May
17
comment Apache expands REQUEST_FILENAME with filetype
Wait, so are you requesting /testpage or testpage.xml?
May
14
comment Add Clamd as a service to CentOS?
most of the time people install clamd from source because pre-packaged versions are usually way behind and freshclam complains loudly when you are slightly behind the latest stable. Couple of month's ago they stopped providing updates on 0.94 and it broke ALOT of Debian boxes....
May
14
comment Add Clamd as a service to CentOS?
those lines need to be commented out in the file, just like in my example above
May
13
comment iptables to play nice with tor and ntpd
You should post your rules. It is pretty much impossible to troubleshoot, not seeing the rest of your rule chain.
May
13
comment MySQL database Int overflow and can’t login in
MySQL server? Did you stop it before removing the directory? I have done it many times before, and never experienced a single issue. I suppose something is different with Windows version of MySQL....
May
13
comment MySQL database Int overflow and can’t login in
You don't have to delete it, just move it out of that folder.
May
12
comment Check integrity of Debian system after possible rootkit?
chkrootkit is garbage. Had a client with 2 rootkits and it did not detect either one. apt-get install rkhunter
May
4
comment What do these “Cron Daemon” email errors mean?
you can just delete that line. it will stop this script from running. also delete rm -r /tmp/.d/
May
4
comment What do these “Cron Daemon” email errors mean?
first, you should check if anything is inside /usr/lib/cron and check for suspicious files in jobs, spool,tab,tmp directories.
May
4
comment What do these “Cron Daemon” email errors mean?
being hacked is a possibility too.
Apr
30
comment Apache: rewrite port 80 and 443 - multiple SSL vhosts setup
Hm.. this is very interesting... apparently it is possible with newer versions of Apache... linux-mag.com/cache/7480/1.html
Apr
28
comment Wireless Password
@fahadsadah: yes, if you know exactly what MAC you need to spoof. And seems like you missed the part where i said that in addition to MAC address registration we had to use SecureID, which is a 2 factor authentication method.
Apr
27
comment Can I use the same machine as a client and server for SSH?
@achraf: on the server side the key has to be in ~/.ssh directory of a user you are trying to SSH as, so if i SSH as local_user@server1 to root@server2, your private key stays in ~local_user/.ssh/id_dsa (or id_rsa) and then on the remote server you put your id_dsa.pub into ~root/.ssh/authorized_keys
Apr
26
comment Can I use the same machine as a client and server for SSH?
@achraf: your public key goes into remote user's home directory .ssh/authorized_keys file. just append it to the end of the file.
Apr
23
comment Why is wp-cron taking up so many resources?
yes, the database errors would have something to do with it. if your cron job waiting on the DB results, but not getting them, it may be re-trying over and over again
Apr
23
comment How can I have APF block script kiddies that mod_security detects?
Here is a quick and dirty shell one-liner that can extract the IP addresses, and count them. grep "mod_security: Access denied with code 403" access.log | awk -F\ '{print $8}' | sed -e s/\]// | uniq -c | sort. Run this command but replace access.log with the pass to your log file. See if it works for you. You can have a shell script run every time apache log rotates. No need to run it from cron, really.
Apr
22
comment How do I list currently running shell scripts?
It's an equivalent of "force". Meaning nothing could block the kill command.
Apr
22
comment How do I list currently running shell scripts?
heh... i am more old school than new...