Howto Recover a Linux Root Password

This post is intended for users that forgot the root passwords or can’t use it due to other problems (corrupted file /etc/passwd or whatever). Can also be used to gain unauthorized to linux machines, but don’t do that.

What to do
Boot using a recovery CD or DVD.

Mount the drive

mount /mnt /dev/sda2

Replace the existing root password with an empty one

sed /^root/s/.*:root:/root::0:0:root:/ /mnt/etc/passwd

And reboot – and you are done ;-)

VN:F [1.8.5_1061]
Rating: 9.0/10 (2 votes cast)

Related posts:

  1. Howto: How to Reset the MySQL Root Password
  2. Recover (Crack) a password from a Microsoft Access Database (mdb)
  3. Crack or Recover Password Protected Excel Spreadsheet
  4. Crack or Recover Read-only Password Protected Word Document
  5. HackerGuide: Crack Password Encrypted Zip-files
  6. How to hack Windows password with Ophcrack
  7. Howto Create a libstdc++ Compat on Debian (e.g. libstdc++-libc6.2-2.so.3)
  8. Crack zip password with fcrackzip
  9. Password Manager – based on gnupg
  10. Crack Windows Password

Comments

Combine Multiple PDFs Into One File

From time to time it is very useful to combine multiple PDF documents into one file.

Install gs (ghostscript) and pdftk (tool for manipulating PDF documents)

sudo aptitude install gs pdftk

Now we will see one example, which shows how to combine a few pdf files; 1.pdf,2.pdf,3.pdf.

gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=combined_pdf.pdf -dBATCH 1.pdf 2.pdf 3.pdf

If you want to know more options available for gs command check the gs man page

VN:F [1.8.5_1061]
Rating: 10.0/10 (1 vote cast)

Related posts:

  1. Upgrading to Ubuntu 9.04
  2. Ubuntu Netboot and Netinstall with PXE
  3. Bash shortcuts tips and tricks
  4. Run Single Commands on a SSH-based Server
  5. dos2unix on Ubuntu and Debian
  6. The VMware house of cards
  7. Rethinking the GUI (Graphical User Interface) and the CLI (Command Line Interface)
  8. Crack pdf password with pdfcrack
  9. Track file downloads and outgoing links with Google Analytics
  10. How to mount bin / cue image files in Linux

Comments

How To Update A Garmin Nuvi (Firmware and Maps)

Updating your unit software just got easier. Use WebUpdater to automatically keep your operating software current. The Garmin WebUpdater can be downloaded from Garmin.

If you need to update your software / firmware from Linux, you can actually extract the downloaded exe and upload the unit software / firmware update file (e.g. called GUPDATE.GCD) manually to the device.

VN:F [1.8.5_1061]
Rating: 8.0/10 (1 vote cast)

Related posts:

  1. Garmin Mobile XT on N5800 – Europe Map 2010.1
  2. Jailbreak iPhone 3GS Using redsn0w (Windows)
  3. Garmin Mobile XT 5 on Nokia N95
  4. Howto Create a libstdc++ Compat on Debian (e.g. libstdc++-libc6.2-2.so.3)
  5. Linksys Network Storage Link NSLU2
  6. Ubuntu 5.04 package update screenshot
  7. Update entry on Xen on Debian Etch
  8. Jailbreak iPhone 3GS Using redsn0w (Linux)
  9. The VMware house of cards
  10. Howto Install Fedora From a USB Flash Key Drive

Comments

Top 10 Free Windows 7 Applications

  • 7-Zip file archiver – a polished, quickly, and efficient file archiver. Supports the following formats, 7z, ZIP, GZIP, BZIP2, TAR, RAR, CAB, ISO, ARJ, LZH, CHM, MSI, WIM, Z, CPIO, RPM, DEB and NSIS.
  • Infra Recorder – User-friendly and lean recorder suite for CD / DVD / HD DVD / Blu-ray. Supports also creation of music CDs from MP3 files directly.
  • VLC Player – The best and most user-friendly film and video player. Simply a must have.
  • Launchy – A so called key-stroke launcher. Makes it smart and easy to start programs in Windows just like Quicksilver does it for Mac and Gnome Do for Gnome under Linux.
  • Paint.NET – Good, polished, and fast photo processing and editing program. Smarter and more user friendly than Adobe Photoshop ;-)
  • PDFCreator – Easy and quick program to create PDF files. PDFCreator easily creates PDFs from any Windows program. Use it like a printer in Word, StarCalc or any other Windows application.
  • Notepad++ – Wonderful and quick editor for text and various programming languages.
  • uTorrent – BitTorrent client used to download movies, software and music albums from the peer to peer net. The stuff for download can often be found on thepiratebay.org or torrentz.com.

  • Firefox – Quick and easy to use browser. A Must have on Windows 7.
  • Picasa – Easy and simple program for managing and storing photos and photo albums.
  • iTunes – super duper program managing music collections, it can handle tons of mp3 files ;-)
  • VirtualBox – easy and fast virtual machine that can be used to test Linux distributions, and to install windows inside another windows ;) – Fancy, fancy and quite usable.
  • OpenOffice – complete office suite containing; Word processing, Spreadsheets, Presentation editor, Drawing, Database programs and etc. A must have, and it works better than Microsoft Office.
  • Inkscape – Drawing program for drawing vector drawings (logos and such things).
  • Scribus – Polished, user-friendly DTP program, used to create brochures, catalogs, reports, articles, etc.
VN:F [1.8.5_1061]
Rating: 9.0/10 (1 vote cast)

Related posts:

  1. Seamless Windows Applications on Ubuntu Linux Using VirtualBox
  2. What is the coolest thing you can do using Linux that you can’t do with Windows or on a Mac?
  3. Windows Developers Begin Slow Defection to Linux
  4. Xen Howto: Install Windows
  5. Crack pdf password with pdfcrack
  6. Howto Crack and Remove Windows Media Video (WMV/ASF) and Audio (WMA) DRM License WMP with FairUse4WM and Mirakagi
  7. Top 5 Free Wallpaper Download Sites
  8. Apple Safari Browser on Windows
  9. Gnome System Monitor User Interface Rework
  10. Rethinking the GUI (Graphical User Interface) and the CLI (Command Line Interface)

Comments

Wireless: How To Secure Your Wireless Network

Malicious people don’t target big and corporate wireless networks only. If you have a Wi-Fi network at home or in a small office, your network might be attractive also. Malicious people might consider using unprotected and weak protected networks as hubs for malicious and illegal activities. By using an unprotected or weak protected wireless network, they can attack credit cards systems and netbanks from your wireless network and then all the illegal activities seems to originate from your IP address and your home or small office.

Therefore, all wireless networks should be protected with encryption.

Minimum Protection

  • Use WPA or WPA2 encryption (not WEP encryption, it is proven to be unsecure and weak)
  • If your wireless network devices do not support WPA or WPA2, then use WEP with minimum 128 Bit, enable mac address filtering (available in most SOHO routers), and use VPN-based encryption whenever it is possible.
VN:F [1.8.5_1061]
Rating: 7.0/10 (1 vote cast)

Related posts:

  1. Hack Wireless WEP Network
  2. Howto crack (or hack) a wireless network with Wired Equivalent Privacy (WEP)
  3. Hack Wireless WPA Network
  4. Howto Hack a Wireless WEP Network
  5. Updated the entry on wireless network cracking
  6. HackerGuide: Sniff Live Network Connections Using Ettercap
  7. Microsoft is using Linux
  8. Crack Cisco VPN (hack)
  9. WEP and WPA cracking and hacking tools for Windows Mobile
  10. Crack or Recover Read-only Password Protected Word Document

Comments

Decompile and Disassemble Windows Exe-files

Many people are unaware of the fact that it is possible to decompile and disassemble almost all types of Windows Exe-files.

What is a Decompiler

A decompiler is the name given to a computer program that performs the reverse operation to that of a compiler. That is, it translates a file containing information at a relatively low level of abstraction (usually designed to be computer readable rather than human readable) into a form having a higher level of abstraction (usually designed to be human readable).

Free and Open Source Decompilers for Windows

REC 2.1 – Reverse Engineering Compiler

REC is a portable reverse engineering compiler, or decompiler.

It reads an executable file, and attempts to produce a C-like representation of the code and data used to build the executable file.
It is portable because it has been designed to read files produced for many different targets, and it has been compiled on several host systems.

RecStudio offers a modern user interface to REC’s interactive mode.
A command line version is available for Linux and Solaris hosts.

VN:F [1.8.5_1061]
Rating: 7.0/10 (1 vote cast)

Related posts:

  1. InfraRecorder: Open Source CD Burning for Windows XP/Vista
  2. Top 10 Free Windows 7 Applications
  3. Windows 7 Themes for Windows XP
  4. Monitor Configuration Files
  5. Black Windows XP Theme
  6. How to mount bin / cue image files in Linux
  7. What is the coolest thing you can do using Linux that you can’t do with Windows or on a Mac?
  8. Free Windows Vista Themes
  9. Rethinking the GUI (Graphical User Interface) and the CLI (Command Line Interface)
  10. Easter Eggs in Windows XP

Comments

Howto install HipHop for PHP on Ubuntu

HipHop is a source code transformer which transforms PHP source code into highly optimized C++ and then compiles it using g++.

Required packages

sudo apt-get install cmake g++ libboost-dev flex bison re2c libmysqlclient-dev libxml2-dev libmcrypt-dev libicu-dev openssl binutils-dev libcap-dev libgd2-xpm-dev zlib1g-dev libtbb-dev libonig-dev libpcre3-dev git-core autoconf libtool libcurl4-openssl-dev libboost-system-dev libboost-program-options-dev libboost-filesystem-dev

Get the HipHop source-code

mkdir hiphop
cd hiphop
git clone git://github.com/facebook/hiphop-php
cd hiphop-php
export CMAKE_PREFIX_PATH=`/bin/pwd`/../
export HPHP_HOME=`/bin/pwd`
export HPHP_LIB=`/bin/pwd`/bin
git submodule init
git submodule update
cd ..

Building third-party libraries

libevent

wget http://www.monkey.org/~provos/libevent-1.4.13-stable.tar.gz
tar -xzvf libevent-1.4.13-stable.tar.gz
cd libevent-1.4.13-stable
cp ../hiphop-php/src/third_party/libevent.fb-changes.diff .
patch < libevent.fb-changes.diff
./configure --prefix=$CMAKE_PREFIX_PATH
make
make install
cd ..

ICU4

wget http://download.icu-project.org/files/icu4c/4.2.1/icu4c-4_2_1-src.tgz
tar -xvzf icu4c-4_2_1-src.tgz
cd icu/source
./configure --prefix=$CMAKE_PREFIX_PATH
make
make install
cd ../../

libCurl

wget http://curl.haxx.se/download/curl-7.20.0.tar.gz
tar -xvzf curl-7.20.0.tar.gz
cd curl-7.20.0
cp ../hiphop-php/src/third_party/libcurl.fb-changes.diff .
patch -p0 < libcurl.fb-changes.diff
./configure --prefix=$CMAKE_PREFIX_PATH
make
make install
cd ..

Build HipHop

cd hiphop-php
cmake .
make
VN:F [1.8.5_1061]
Rating: 8.0/10 (1 vote cast)

Related posts:

  1. Howto: Install Ruby and Rails on Debian or Ubuntu
  2. Ubuntu Howto: Install Oracle
  3. Ubuntu Howto: Install Sun Java
  4. Ubuntu Howto: Install Xen
  5. Howto Install Carwhisperer on Ubuntu 9.10
  6. Howto: Install Windows Vista Fonts in Ubuntu
  7. Ubuntu Howto: Install Ruby and Ruby on Rails
  8. Howto install Java on Debian Sarge
  9. Howto Install Oracle on Debian
  10. Howto: Create your own Debian or Ubuntu package repository

Comments (3)

What to Expect: Ubuntu 10.04 LTS: The Lucid Lynx

Ubuntu 10.04 Alpha 2 is available and comes with Linux kernel 2.6.32, KDE 4.4 RC1 and a significant faster boot process. The release is a “alpha” release, which means that it is not fully developed and therefore may contain errors and other obst. The final version of Ubuntu 10.04 LTS it planned to be released on the 29 April 2010.

Really cool stuff

  • PiTiVi included as default. PiTiVi is considered the most intuitive and featureful movie editor for the Linux desktop.
  • The boot process. The goal is to reach 10 seconds for booting with 10.04 aka Lucid. The adoption of Upstart is one of the techniques to make the goal come true.
  • Hal removal. The removal of the hal package makes Ubuntu faster to boot and faster to resume from suspend.
  • Kernel 2.6.32. The new kernel means 3D support for newer Radeon graphics chips, better use of power saving features offered by the latest hardware and numerous enhancements to KVM and Btrfs are some of the outstanding items among the many thousands of changes undertaken for the latest kernel version. Various other improvements should also make Linux 2.6.32 more reactive and as a result, feel faster.
VN:F [1.8.5_1061]
Rating: 0.0/10 (0 votes cast)

Related posts:

  1. Development Release: Ubuntu 8.10 Alpha 4
  2. Ubuntu Studio
  3. Ubuntu Howto: Install Xen
  4. Seamless Windows Applications on Ubuntu Linux Using VirtualBox
  5. Google’s new operating system: Chrome OS boots at 7 seconds
  6. iTunes on Linux (Ubuntu)
  7. Ubuntu Netboot and Netinstall with PXE
  8. Howto: Install Ruby and Rails on Debian or Ubuntu
  9. OpenVZ joins forces with Ubuntu
  10. Ubuntu Server Edition JeOS

Comments

« Previous entries Next Page » Next Page »