Sunday, April 11, 2010

Crash and burn.


Jepp, now I have done it. I managed to corrupt the passwd file. I don't know how but there it is, I can not login as root no more.

Well that happens when your not that careful login in as root. And i think I made a mistake when trying to set the shell for a user. Usually I use the passwd command but on the eTrayz the passwd command is old. Maybe there is a newer version somewhere else on the machine. That version I'm familiar with has the -s variable to set shell for user.

I wanted to do a passwd -s and somehow the passwd started by asking for "new password" and i could not escape from that question. I tried to make different password so the action never got through but it kept asking for a new password. ctrl -a, -q, -c or -z didn't work . But after some attempts it stopped asking and I was off the loop.

I didn't thought that I had made a password change be cos it never confirmed that. Well next time I was login in as root it seamed that i gave wrong password. And I had corrupted my password or altered it, I didn't know of any other password so there you go. I need to reinstall again.

Well no problem; I do a backup and reinstall and then a do a recall on my backed up information. No problemo - I fix this.

No comments:

Post a Comment