April 2010
« Mar   May »

Usermin not starting

How do I start usermin ?

- sh-3.2#


Starting Usermin server in /usr/libexec/usermin

Then try to check it by

-sh-3.2# netstat -tulpn | grep 20000 tcp 0 0* LISTEN 6468/perl udp 0 0* 6468/perl

It’s running and we can test it by open the address on browser.

How do I access the samba share on Linux using terminal

You will not see the


command works on nowadays, But now it is using Common Internet File System” (CIFS) rather than smb file system using smbmount.

[root@rc-138 sharepoint]# mount -t cifs // /mnt/sharepoint/

Where, // /Network-Sharepoint = Anonymous samba share on /mnt/sharepoint = where share is mapped to local system.

How do I [...]

Godaddy site hacked : ninoplas Base64

I sudently called, some of developers are complaining that their sites are redirect to somewhere (Open a search link on Bing) and landing pages taking very lone time to load.

Sooner I found that index page is infected with a script and header page was modified also While after deleting the encoded/Unicode which is starting [...]

Customizing php local variables on web

I need to reset the php values of ‘upload_max_filesize” to 11MB but the default settings were set to 2MB. But I do not want to change this setting affected globally.

Here are the tips.

1. Create a empty ‘php.ini; file on the web where you want to use the upload size high.

I want [...]

How do I clone the MAC ID on windows

1. Identify the new mac ID to be cloned and write it down. 2. Go through “Local area Connection properties” (execute “ncpa.cpl” on Run command window)–> properties –> Configure –> General–>Advanced–>. Then select the ” Network address” from the list box and add the hexadecimal MAC ID (Value) which you copied from the source machine. [...]

Force users to use https rather than http

Here is the rewrite rule which helps to re-direct all http requests will change to https tunnel when the user hit it on the browser

Copy it on .htaccess to the folder where you want to protect the access only through SSL.

RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}