Thursday, December 21, 2006

Klueless is Back

Hey......
...... Klueless (remember the cryptic puzzle by iim-indore..) is back with new version.. klueless2
I am sure you will definately enjoy it as you enjoyed earlier version... I am still stuck at some level :o)

happy kluelessing....

Friday, December 01, 2006

Resetting Linux password

Recently I installed Suse Linux 10 on my PC.... and after 2 days decided to change my boot settings but NOT to my surprise (as ususal) i was unable to recall my root password... was it ...this OR may be ..this.... damn!!!!
so Google came to rescue again ...
I came across a suse linix forum and got a How to... for resetting root password
by following the steps, I was not able to reset the password..
I tried hard this time and got about 5-6 different approaches to resolve the issue...
This is the one I tried...

On grub bootup screen:
You will see three options:
Linux
Windows
Linux failsafe

if Linux is selected press F2

You will see a space to enter boot options, follow the directions

1). add init=/bin/bash at end of line
2). Continue to boot
3). At prompt enter:
mount -o remount,rw /
cp -p passwd passwd.old (just in case)
vi passwd
remove 'x' in second column
wq!
mount -o remount,ro /
4). Reboot the system
5). Username: root
Leave password blank
6). Resync password file with shadow file (if applicable)
pwconv
7). passwd root
8). Change password to new one
9). Login as a normal user and su - to test the root password
10). Remove passwd.old if you're truly paranoid