How to find out the reseller name with domains? Ans : If you want to list all cPanel accounts under a specific reseller, then you can use the below simple shell script. 1) Crete the file reseller.sh and add the following code. vi /home/reseller.sh ========================================================== #!/bin/bash usage() { echo “Example : $0 domain.com or username” […]
See MoreCategory: How To
Problem in password protection using .htaccess
Problem in password protection using .htaccess How to protect CRE Loaded admin area ? or Problem when page requires authentication or How to set password protection for sub directory without affecting to other .htaccessrewrite rules Ans : You will notice that the default .htaccess will not work if your page requires authentication. Suppose you have […]
See MoreSSH with private key authentication
How to Add ssh user on linux server ? Ans: You can use the putyykey generator and generate the ssh key for the user and copy into the local computer.You can download the puttykey generator from the URL http://the.earth.li/~sgtatham/putty/latest/x86/puttygen.exe The following are the steps for creating ssh user with the authentication :- #adduser test #passwd […]
See More
