LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-26-2003, 04:18 PM   #1
dlandsurveys
LQ Newbie
 
Registered: Jan 2003
Location: somewhere, north america
Distribution: slackware 9.0 or 9.1 soon to be 10.0
Posts: 15

Rep: Reputation: 0
Lost my password


I just loaded Slackware and everything appeared okay even through the initial boot but when I went to login it won't accept my password. I must be giving it the wrong password. How do I find out or change the password?
 
Old 01-26-2003, 05:41 PM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
At the boot screen you will see a list of installed images (kernels) on your system and a boot: prompt

you need to type the image name followed by init=/bin/sh


like this

linux init=/bin/sh

If you have a custom name for the image it will be something like this

Linux-2.4.19-lq4 init=/bin/sh
 
Old 01-26-2003, 10:46 PM   #3
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
That is a cool trick, I have never tried that. The only way I know how to to boot off the cd, mount the drive, vi the passwd file, remove the "x", save the file and reboot. Now root will not have a passwd, it can login in with out typing one. Then you have to provide it a passwd again.
 
Old 01-26-2003, 11:03 PM   #4
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
right, this way you are in a root login without logging in. then you can set the password using passwd.

On some systems you can boot into single user mode, but some of them still require a login for single mode. Slackware will still bring up a login prompt if you use "linux single", but "linux init=/bin/sh" works
 
Old 01-27-2003, 11:27 PM   #5
dlandsurveys
LQ Newbie
 
Registered: Jan 2003
Location: somewhere, north america
Distribution: slackware 9.0 or 9.1 soon to be 10.0
Posts: 15

Original Poster
Rep: Reputation: 0
Well, it didn't work. The problem is, is that I typed in the wrong password and it wouldn't work. I confused my uppercase letters with lower case. But anyhow I just reinstalled and I took extra careful with the password and now it works. Thanks anyhow.
 
Old 01-28-2003, 08:25 AM   #6
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
if "it did not work" then you did not use the correct image name

it always works
 
Old 01-28-2003, 08:46 AM   #7
membrax
Member
 
Registered: Nov 2002
Location: 50'48''N - 4'21''E
Distribution: SuSE7.1 - SuSE8.1 - SuSE8.2 - RH6.2 - RH7.1 - RH7.3 - RH8.0 - RH9.0 - Fedora Core 1
Posts: 281

Rep: Reputation: 30
Normally, your password should be : *******
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lost Password Hexadecimal Red Hat 3 05-18-2005 04:40 PM
lost password Loretta59 Suse/Novell 2 05-12-2005 12:40 PM
I lost my password [BFK]BLASSON Linux - Security 3 05-05-2004 07:15 PM
Lost password mijohnst Linux - Security 2 04-06-2004 04:02 PM
lost password waxiem Linux - Software 5 07-04-2003 10:00 AM


All times are GMT -5. The time now is 05:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration