Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Booting into single mode doesn't always work. On my Caldera system, after I went through the considerable trouble of adding ' single ' to the end ' kernel ' line from the splashscreen ( lilo is much easier. Just enter ' linux single ' at the prompt. ) , I was greeted by a login prompt. It wanted my password. Fortunately, I was just testing it. The culprit was the inittab file and these lines:
# What to do in single-user mode.
Get DemoLinux and just mount your hard drive Linux partition there and edit the /etc/passwd file, setting root's password to nothing.
If you're using lilo, you can also add the boot parameter "init=/bin/bash", but be very careful, this can get your filesystem screwed over big time, make sure to sync a few times and remount the partition in read only mode before cold booting when you're done!
I tried the backdoors y'all sugested but I completely screwed up my filesystem, by that time it was too late to make backup's.
I could'nt even get into my user acount anymore so I finaly decided to re-install the whole lot. Nevertheless I am still a happy Linux user.
Learn the big lesson: DO NOT forget your root passwd
The way around that is to NOT HAVE a root password. Just kidding!!! Please no hate replies, it was a joke, honest. I would never ever ever suggest to ANYONE, especially a noob, to not have a root passwd enabled. Well maybe I would, but only to someone who is really mean.