Resetting Your Linux Password

If you cannot remember your password on a Linux operating system, you can simply reset it within minutes. Here is how to do:

  1. The only thing you need is a bootable Linux Live CD or USB thumb drive. You will also need “sudo” command to achieve this, make sure you have root privileges on your bootable Linux media.
  2. Once you boot into your Live CD/USB, mount the disk partition which Linux is installed on.
  3. There is a (magical) Linux command: chroot. This will allow you to change your root directory to mounted partition. Open terminal and run this command.: (Change “/media/disk” to your mount location.)
    sudo chroot /media/disk
  4. When the prompt changes, run this command, and enter new password: (Change “user” to username whose password to be reset.)
    passwd user

After setting the password, you can now restart the computer (do not forget to remove Live CD/USB), and login using new password.



Internship at Pardus

Hi, I’ve started working on Pardus linux distribution as an intern last week. This post is the summary of the first week at the office…

I’ve been supporting Pardus for almost 6 years and being volunteer at the events occasionally. I’ve met most of the developers during these events. However, I had a great opportunity to met the ones who I haven’t met before and the other interns at the meeting in first day.

Other four days of the week, Pardus developers organized some workshops which are useful for interns in these subjects: Python, vi, ÇOMAR, PiSi, Qt, Linux kernel, testing and debugging… We had enough time to practice too.

I have an active developer application request, and I have plans for Package Manager. Since I’m in the same office with its developer, we had chance to brainstorm. Gökmen has also requested me to make some improvements in package details window. That window contains a web page and making improvements is a piece of cake!

While other interns practice what we’ve learned from workshops, I worked on improvements for the details web page. For development, I preferred nginx web server which I use a lot recently. However, I had to make some changes in php package to be able to use it with nginx. I needed to enable FastCGI support, and I had to update libc-client package to do that. After these changes, I’ve managed to build a new php package with php-fpm patch! 😀

Recently, I changed static rating stars with jQuery and Raty plug-in. I’ve also created a new php class to help me with working SQLite database that holds the rating data. It’s almost finished, I just need to implement a log in system for package ratings.

This week on Monday, it became official that my internship project is “improvements on package manager”. Sexy screenshots are coming soon!


Pardus at CeBIT 2010 Eurasia

This week had been an exhausting one. I was an exhibitor at Pardus at CeBIT 2010 Eurasia. I’ve talked about Pardus, Linux and open software for 4 days, all day long. Being there as a volunteer and working hard didn’t matter. WE HAD FUN!

While we’re giving visitors gifts (Pardus 2009.2 CD’s, posters, brochures and candies), they asked questions about Pardus. Such as: “Is this really free, but why?”, “Where do you get money from?”, “What does free mean?”, “Can I contribute Pardus?”, “Can I use it in my office?”, “How many people uses that?”, “How secure is it?”…

The crowd was enthusiastic about using Pardus. All we have to do is let them play with it a little. There was 10 computers for trying Pardus, and Pardus handled rest of it. Interfaces, effects, ease of use and (open source) games were good enough to attract them! They were just scared to try something different. We gave them enough courage to try Pardus, now we’re waiting for their feedback.

I will save my CeBIT badge forever and I’m too glad to met other volunteers from Özgürlükİçin.com in person, and they’re all awesome! I took a lot of photographs. Cannot wait until next event!