Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
on your bootloader screen you need to boot run runlevel 1. if this is grub hit e for a prompt and just add "1" or "single" to the boot command, or do the same thing in lilo, normally by hitting escape for a prompt and runnign "linux single" or suitable equivalent for your system. this will log you in as root.
Thanks for your prompt reply but this method of starting in single mode of my OS (SUSE 9.3 pro) using the 1 or single command takes me straight to the prompt that requests the root password still....
bootsplash: status on consol 0 changed to on
Master resource Control: runlevel S has been
give root password for login:
hmmm the instructions you provided were not so complicated :S anyways i guess ill have to reinstall mayb ill install fedora this time cuz suse pro has some hardware detection probs in my laptop. Thanks for ur help though.
Check out the /etc/inittab file. Search for something like this:
Code:
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.
This is the Knoppix inttab file. Check which runlevel is the single user one and switch to that. The runlevels are sometimes distro-specific (Runlevel 5 on Fedora is the same as Runlevel 4 on Slackware. Runlevel 4 on Fedora does nothing)
And BTW single user mode can be configured to require that the root password be required for entry (for extra security). IIRC this is the default on Red Hat systems (not sure about SuSE). Rather annoying IMHO. Anyhow, no need to reinstall, follow the following procedure:
1) Boot off of a LiveCD or your distro's rescue CD
2) Mount your root filesystem
3) Edit your root filesystem's /etc/shadow and remove root's encrypted password. (2ns field of /etc/shadow, just leave nothing there).
4) When you reboot, root will be able to login with no password. Rectify this insecure situation immediately.
Wew you guys are so kewl and helpful.... but dym im installing debian as we speak.... suse was giving a hard time with my toshiba wireless card... and when the password problem came i finally gave up hope for the distribution and decided to use a more widely used distro.... o. im now loging in to the new distro so c ya all l8ter. once again thanks for the help
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.