LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-01-2003, 10:06 PM   #1
sankeny
Member
 
Registered: Jul 2002
Location: Indiana
Distribution: SuSE
Posts: 48

Rep: Reputation: 20
Password problems....


I have a small web server which formerly had Slack 8.1 installed. It has a custom kernel because of the SCSI subsystem.

I upgraded all packages to 9.0 using SWARET, excluding the kernel, lilo, kde, qt and xfree86. All went well with installing the packages and resolving the dependencies until I logged out.

I shell into this machine from another using ssh.

When I tried to shell back in, it recognized the username but not the password. I have not rebooted or restarted the server since the upgrade.

1-Do I need to reboot the server to "initialize" the upgrade?

2-If I boot to a rescue disk, is there a way to reset the root password?

Thanks for the help. I enjoy reading this forum.

--ciao
 
Old 10-01-2003, 11:22 PM   #2
sankeny
Member
 
Registered: Jul 2002
Location: Indiana
Distribution: SuSE
Posts: 48

Original Poster
Rep: Reputation: 20
Is this a solution?

At the lilo prompt, type....

init S

...which will drop me into a single-user shell. I can then issue....

passwd

....and change the password.

Or, boot from a rescue disk; mount the /etc partition rw; and edit /etc/shadow (deleting everything between "root :" and the next ":").

Does init S work with Slack?

If not, I can accomplish the second remedy. I will let you know in the morning how it worked.

--ciao
 
  


Reply



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
Password Problems Miscasedpeas Linux - Newbie 1 08-02-2005 09:37 PM
password problems SlipAway172 *BSD 3 02-27-2005 07:49 PM
password problems DaveyB Linux - Newbie 3 08-15-2004 07:40 PM
Password Problems satanic_linux Slackware 2 04-16-2004 11:39 AM
Password problems xgtr Linux - General 2 10-27-2002 11:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:10 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration