Archive for September, 2011

Remove Content Advisor Password In IE

Hi guys! What will be your answer if I ask you a question- Which is a better browser: Firefox or Internet Explorer ? Personally I use Firefox but this post is about IE. Recently one of my friend accidentally set the password for IE content adviser.  Now every time he opens a page he is asked to enter the password. Quite annoying! So here I am to tell you what I told to my friend. So get ready to play with registry to remove that annoying password-

  • Type regedit in the search box to open registry editor.
  • Now traverse to HKEY_LOCAL_MACHINE:Software:Microsoft:Windows:Current Version:Policies:Ratings
  • Here you will see an entry named ‘key’. Delete this.
  • Restart the system.
  • Now open Internet Explorer.
  • Open Internet Options or Options according to your IE version.
  • Go to Content  tab and disable Content Advisor. If asked for password don’t input any password. You may need to restart  the system once again

Job is done!

Enhanced by Zemanta

Hi friends! Tonight I am back with 2 simple but useful Linux tricks. First one is about formatting a USB Pen Drive and another one is about making a file unchangeable. So let’s start-

                                                 Format A USB Pen Drive

  • First of all get the USB drive name by issuing fdisk-l command. It will list all the partitions currently available. Suppose it is /dev/sdb1
  • Once you get got the name then issue mkfs.vfat /dev/sdb1

Now your USB drive is completely formatted. Time for another trick-

                                               Make A File Unchangeable

This is quite simple. Suppose we have a file called info.txt. Now we can make it unchangeable by issuing just a single command

chattr+i info.txt

Now even the root user can’t delete it rename it modify it. Only root can reset it attribute using chattr-i info.txt to get the control over this file. I hope you like this.

Enhanced by Zemanta

As a Linux System Administrator one of the basic task is User Management. Setting proper rules and policies for maintaining users is a critical job and today’s post is related to it. Users often need to change their password as the Admin sets rule for changing password after a number of days. But what if user again set the same password again. That’s not encouraging from the security point of view. So we’ll prevent them from setting the same password again.

The task is quite simple guys. Follow the following steps-

  • Just open the file /etc/pam.d/system-auth on your system.
  • Now you will see a line contains -password sufficient.
  • Append this at the end of the line

md5 shadow remember=10

  • Now save that file and quit. Now your system will remember the last 10 password set and won’t let the user set the same password. If he’ll do so he will get an Error Message. Quite simple.


Enhanced by Zemanta