Archive for November 17th, 2007

How to Reset Root Password in Linux with a GRUB Menu

Had to go recover a few files for a friend.

Problem:
Box is running on an older version of Linux (Red Hat 8.0?) and nobody remembers the password. Tried to do a brute force recovery, but in vain.

Solution:
Boot using single user mode. This automatically logs the user as root.

  1. Restart machine.
  2. In the GRUB menu, press ‘a’ to edit kernel options
  3. Append a space and the word ‘single’ after the menu option you wish to use
  4. Save and continue
  5. Voila!
VN:F [1.9.7_1111]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.7_1111]
Rating: 0 (from 0 votes)
Share :
  • Digg
  • del.icio.us
  • Google Bookmarks
  • DZone
  • StumbleUpon
  • Technorati
  • TwitThis

How to Disable GAC View

You can change the Windows\Assembly\GAC folder from the custom GAC view to the normal WIndows Explorer view by editing the Registry:

1. Start > Run
2. Type regedit
3. Go to HKEY_LOCAL_MACHINE\Software\Microsoft\Fusion\
4. Add a DWORD value called DisableCacheViewer and set the value to 1

VN:F [1.9.7_1111]
Rating: 9.0/10 (1 vote cast)
VN:F [1.9.7_1111]
Rating: 0 (from 0 votes)
Share :
  • Digg
  • del.icio.us
  • Google Bookmarks
  • DZone
  • StumbleUpon
  • Technorati
  • TwitThis
`