Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
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.
Am I correct in thinking this would require the installation CD? If so I'm probably screwed. I'm using an old version of Mandrake and I have no idea which version it is. Can I boot into rescue mode with a new Mandrake CD?
You can boot into rescue mode without any CDs. Pass rescue mode options to your boot-loader when booting. These vary from distro to distro, this one is a sure shot:
init=/bin/sh
When the computer boots up it goes into LILO. It doesn't give me any kind of option to include boot parameters. It lists "linux, linux-nofb, linux-secure, failsafe".
I have no idea why the account expired. Could be the fact that I manually changed the password file. The root password worked after I changed it. Once I logged out as root though I could only log back in as a normal user.
Ok, you have two options, either boot with a bootable CD (knoppix?) or a bootdisk (toms root boot), mount the partition in which / is stored, the chroot to the mountpoint and change root's password like that (passwd root). Or you can try to press TAB, ESC or something when Lilo's gui appears.
In LILO, when you are presented with the options (either in text-menu or graphical), press Esc and you'll get a command prompt. Type name of your usual kernel (e.g. linux-nofb), space and 'init=/bin/bash' and Enter.
Your kernel will boot as usually but you will get a root shell immediately (no services startup, no login prompts).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.