My Journal | My Journey

My Journey | My Journal



How to Retrieve Root Password on Linux Machine 2

Posted on July 22, 2008 by Eko Prasetyo

Sometimes some people forget their root password on their Linux machine. And not recommended to install back the Linux since so many configuration have done during that period time. Now, we can retrieve the password as long as we have physical access to the Linux machine. There are 2 ways to solve this problem.

1st way
Reboot your Linux machine
Get into “grub” menu then press “e”
Go to your default kernel then press “e” again
Then go to grub prompt grub> default_kernel single <– type “single” at the end of your kernel. We are entering single mode.
Then it will appear as sh-3.00#
Then type “passwd” or edit /etc/passwd

2nd way
Reboot your Linux machine
Boot from 1st CD of your distro
Get into the “Rescue Mode”
Follow the instruction
We get into prompt again sh-3.00#
Type “sh-3.00# chroot /mnt/sysimage”
Then type passwd or anything you want

Congratulations you have your root password back. Don’t forget about your root password again in the future

  • Dual-boot ‘$100 laptop’ to run XP and Linux, What for?

  • Project Blog

  • Popularity: 28% [?]

    Replace Your Cisco Router With Vyatta 1

    Posted on June 19, 2008 by Eko Prasetyo

    Vyatta Do you know cisco router?, expensive isn’t it?. But you need cisco performance with cheaper price?. Vyatta is an answer. Vyatta is Linux cutomized based on Debian Linux. Vyatta is open source networking distro which combine the features, performance, and reliability of an enterprise router and firewall with the cost savings, flexibility, and security of open source to introduce new levels of economics, choice, and control into the network

    The Vyatta open source routing platform is built upon XORP, the eXtensible Open Router Platform, and uses templates to execute commands that are entered into the xorpsh, also know as the Vyatta CLI, much like other routing platforms.
    Read the rest of this entry →

  • Linux vs Windows..sampe kapan?

  • Konfigurasi Senao EOC-3220EXT Sebagai Access Point

  • Popularity: 9% [?]

    Setting Mikrotik Dan Ubuntu Squid Server 3

    Posted on June 19, 2008 by Eko Prasetyo

    logo Mikrotik Kali ini saya akan memberikan sedikit tips untuk menggunakan proxy server terpisah dari mikrotik. Walaupun kita tahu di mikrotik sendiri disediakan proxy server, tetapi untuk menangani klien berjumlah banyak dan agresif dalam pemakaian internetnya perlu disediakan tersendiri proxy server.
    Read the rest of this entry →

  • Proxy Squid di FreeBSD

  • How To Setup OpenDNS On Ubuntu

  • Popularity: 12% [?]

    Dual-boot ‘$100 laptop’ to run XP and Linux, What for? 6

    Posted on May 16, 2008 by Eko Prasetyo

    OLPCRemember OLPC project?, project has a new version of The One Laptop Per Child Project’s (OLPC’s) XO laptop will run both Linux and Windows. Microsoft Operating System that run on OLPC is low cost student version of windows XP. Then for Linux will using the traditional Linux-based Sugar operating system.

    OLPC Chairman Nicholas Negroponte has referred in the past to a dual-boot XO model, but this is the first official announcement of such a system. The XO was developed by OLPC for children in developing countries, and Negroponte hopes to eventually make it available for $100. The availability of Windows on the system will give customers more choice in operating systems and let them use Windows-based educational software and tools, the parties said. Customers and partners worldwide have asked for Windows on the XO, they said.
    Read the rest of this entry →

  • CPU Murah Dari INTEL

  • Dell Mini Inspiron Laptop

  • Popularity: 14% [?]

    Installing Ubuntu 8.04 Hardy Heron on Acer Aspire 3684NWXMi 9

    Posted on April 30, 2008 by Eko Prasetyo

    Tak terasa sudah hampir setahun menggunakan Ubuntu 7.04 feisty fawn di laptop ini. Sudah banyak pekerjaan yang diselesaikan menggunakan laptop acer tersebut. Dan tentu saja sudah banyak file di direktory /home yang sangat berharga. Baik itu file konfigurasi, photo-2 kenangan ataupun iso linux dengan berbagai macam distro.

    Dengan begitu banyak file di direktori /home sangat rentan kalau sebelumnya direktori tersebut berada menjadi 1 di direktori root. Karena kalau kebiasaan ngoprek timbul, maka bisa-2 file di direktori /home akan tertimpa -overwrite- dan itu menjadi sebuah yang sangat menyedihkan. Waktu bergulir, banyak panggilan sana-sini dan akhirnya rencana untuk mengubah penempatan direktori /home berdiri sendiri kesampain juga saat ubuntu Hardy Heron 8.04 release.

    Tak lupa, seperti janji sebelumnya untuk si Hardy ini akan dihadiahi sekeping SODIMM RAM 512 Mb. Sehingga total RAM yang dimiliki laptop acer ini menjadi grand total 1Gb. Sebuah hal yang sangat mewah untuk saya pribadi, dan juga si acer laptop karena akirnya dapat ‘bernafas’ saat dibebani dengan berbagai macam task ataupun job saat remote ataupun konfigurasi server ataupun mikrotik.
    Read the rest of this entry →

  • Laptop Gratis

  • Installing Ubuntu 7.04 on Laptop Acer Aspire

  • Popularity: 10% [?]



    ↑ Top