LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Login help? (https://www.linuxquestions.org/questions/slackware-14/login-help-184669/)

WilliamS 05-22-2004 09:24 PM

Login help?
 
First ever install of Slackware 9.1 - it boots, but asks for a login, seems to accept anything, but then wants a password.
I don't remember giving a password other than root, and it won't accept that one.
Is there a way around this?

MustangCSA 05-22-2004 09:29 PM

type root for the username and then if you didn't enter a password just leave it blank and hit enter.

WilliamS 05-22-2004 10:20 PM

That didn't work, guess it's re-install time already.

slackwarefan 05-23-2004 12:30 AM

WAIT, NO! You can still save it.

You will need to use the slack rescue CD though. anyway . . .
1. Put the CD in the drive and set the BIOS to boot CD first.

2. Do this:
mkdir /mnt/hd
mount /dev/*your hd* /mnt/hd
chroot /mnt/hd
vi /etc/shadow
*remove the encrypted password for root*
reboot
*remove cd*

3. When you get the login you should be able to get in with no password, just hit enter or return when it asks.

-Hope this helps.:D

WilliamS 05-23-2004 10:04 AM

Too late.
It's fixed now, and looks OK. Took 5 installs, cuz I don't know what I'm doing, and only 1.2gb hard drive.
Your method wouldn't have worked anyway, I don't know how to get into BIOS on that ancient computer,
and it won't boot from a cd.
Thanks for your advice - I'll save it for the future.

slackwarefan 05-23-2004 03:53 PM

How'd you install Slack with no cd? FTP?

WilliamS 05-23-2004 06:33 PM

It has cd reader, just wouldn't boot from it.
I made the three install floppies, then it would install the rest from cd.


All times are GMT -5. The time now is 01:20 AM.