SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I have read that if you enter 'linux single' at the lilo prompt it will automatically log you in and you will be root. I tried this and it still gives me a login prompt. If I enter root, I still need a pass. The only difference is that once i do log in (with my account or root using passwords for both) it says
wr3ck3d@(none):$
I can also switch about tty's......So what am I doing wrong??? Does this not work with Slackware?? I also tried 'linux -s" and got same results.
Newer versions of init will require the root password before passing to a shell in single user mode. Otherwise it'd be much too easy to to crack a box you had physical access to.
You can get around this by issuing init=/bin/bash at your boot prompt (doh! so much for security!).
To prevent the bash trick, in lilo.conf set all of your boot images to restricted (then you have to provide a password to alter boot params) or passworded (where you have to use a password to boot that image, and no changes allowed).
I have read that if you enter 'linux single' at the lilo prompt it will automatically log you in and you will be root. I tried this and it still gives me a login prompt. If I enter root, I still need a pass. The only difference is that once i do log in (with my account or root using passwords for both) it says
check your /etc/inittab. This file is parsed even for single user boot, and I'm guessing your single user boot is still setup to login.
For example, my inittab has a
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.