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!
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
#
# Inittab
#
# What to do in single-user mode.
~1:S:wait:/etc/rc.d/rc 1
~~:S:wait:/sbin/sulogin
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.
greetz
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.