To check if an IP is blocked in iptables, use the command : # iptables -nL | grep IP_ADDRESS_HERE Sample output: DROP all — x.x.x.x 0.0.0.0/0 If the IP is blocked in iptables, to see the rule: # iptables-save|grep IP_ADDRESS_HERE # iptables-save|grep 192.168.101.8 Sample output: -A LOCALINPUT -s 192.168.101.8 -i eth0 -j DROP Take […]
How to Use the Net User Command to Manage Users – Windows
To add a new user :net user /add usernameEg : net user /add tomTo delete a user :net user /delete usernameEg : net user /delete tomTo change password of a user :net user username {password}Eg: net user tom pass123To allow a user to change his own password :net user username /passwordchg:yesEg: net user tom /passwordchg:yesTo […]
Dual PHP Kloxo – CentOS
I came across a situation this week where a client wanted to install Zend Optimizer on his VPS as his website needed it. But the default PHP version installed on the server was PHP 5.3 and Zend Optimizer works only with PHP versions upto 5.2. So we had two options in front of us to […]