Unix Technical Forum

Password problem

This is a discussion on Password problem within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> paul wisehart wrote: > Henrik Carlqvist wrote: > >> If I were you I would feel a lot more ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #21 (permalink)  
Old 02-20-2008, 06:25 PM
Marv Soloff
 
Posts: n/a
Default Re: Password problem

paul wisehart wrote:
> Henrik Carlqvist wrote:
>
>> If I were you I would feel a lot more safer if I knew what could have
>> changed the root password for you.

>
>
> I assumed he just forgot it. With all the drive switching and what-not.
> --
> paul


Not so. The passwords are one of four. The same password that logged
me in to the morning session did not work for the afternoon session.

Regards,

Marv
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #22 (permalink)  
Old 02-20-2008, 06:25 PM
paul wisehart
 
Posts: n/a
Default Re: Password problem

Marv Soloff wrote:
> Not so. The passwords are one of four. The same password that logged
> me in to the morning session did not work for the afternoon session.


Hi Marv,
without details, that's hard to decipher.
i'm not getting on or case or anything, and i'm glad you got something
to work.
--
paul
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #23 (permalink)  
Old 02-20-2008, 06:25 PM
Marv Soloff
 
Posts: n/a
Default Re: Password problem

paul wisehart wrote:
> Marv Soloff wrote:
>
>> Not so. The passwords are one of four. The same password that logged
>> me in to the morning session did not work for the afternoon session.

>
>
> Hi Marv,
> without details, that's hard to decipher.
> i'm not getting on or case or anything, and i'm glad you got something
> to work.
> --
> paul


We have had some really strange weather here in the Northeast. Could
have been power surges. After 20 years as a Systems Engineer nothing
surprises me anymore. As for working - the 10.2 Slack installs went
smoothly for all three systems and I have Slack 9.0 and 9.1 as backup
drives. I will be shifting over to DSL next week. If I run into problems
I'll yell for help again.

Regards,

Marv
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #24 (permalink)  
Old 02-20-2008, 06:25 PM
s. keeling
 
Posts: n/a
Default Re: Password problem

Henrik Carlqvist <Henrik.Carlqvist@deadspam.com>:
> Marv Soloff <msoloff@worldnet.att.net> wrote:
> > paul wisehart wrote:
> >> Delete the hashed password entry for root. (Not the whole line, just
> >> the part thats represents the password.)
> >>
> >> Now when you reboot, root has a blank password.
> >>
> >> note: You should really only do that if you just forgot your password,
> >> not if you got cracked.

>
> > Does not work - used vi to delete hashes on both etc/passwd and
> > etc/shadow. Thanks anyway.

>
> Then check that root has a valid shell:
>
> $ cat /etc/passwd | grep root
> root:x:0:0::/root:/bin/bash


Useless use of cat. "grep root /etc/passwd"

fwiw.


--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling Linux Counter #80292
- - http://www.faqs.org/rfcs/rfc1855.html
Spammers! http://www.spots.ab.ca/~keeling/emails.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #25 (permalink)  
Old 02-20-2008, 06:25 PM
Taylor, Grant
 
Posts: n/a
Default Re: Password problem

Marv Soloff wrote:
> Stock Slackware 10.2 install. Up about six weeks with rudimentary
> password and login as root. This morning's session went fine, but I
> must have picked up a bug or virus because I cannot log in again this
> afternoon. Any ideas on how go get into the system? Rebooting with the
> install disk and using "passwd" does not work. I really would not like
> to rebuild this disk, but if I have to - I have to.


(For those who care, seeing as how the problem has been solved.)

It has been my experience and practice to edit BOTH /etc/passwd AND /etc/shadow. First, I remove the encrypted password from shadow and then I remove any (password) characters from passwd. This way, I remove the encrypted password in shadow as well as telling the security system to use a blank password from passwd. This has always allowed me to reboot normally and log in as the account that I wanted to change and run passwd to reset password to what I want them to be.



Grant. . . .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:21 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com