LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-08-2009, 11:58 AM   #16
pcunix
Member
 
Registered: Dec 2004
Location: MA
Distribution: Various
Posts: 149

Rep: Reputation: 23

Quote:
Originally Posted by win32sux View Post
Any type of password cracking which uses guessing (this includes both brute force and dictionary) is NOT doing anything in reverse. It's the exact same operation which was done when the original password hash was originally created, the difference being that you're doing it a gazillion times and the resulting hash of each guess is compared to see if it matches the original one. It's not reversal, the direction remains the same. You're just doing tons of comparison.
Fine. I don't want to argue semantics. The admin wanted to know the password. This technique (not a reversal, according to you) will give it to him.
 
Old 11-08-2009, 12:06 PM   #17
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Good grief! All this arguing about cracking passwords and LQ rules, when all the OP has to do is change the password and notify the user what his new password is.
 
Old 11-08-2009, 12:09 PM   #18
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by mrlinux2000 View Post
am using fedora core 3 how can that be done
The usual statute of limitations applies; how long has that been unsupported?

Quote:
i want to get a passwrod for a user not root and not changing it ...
Given that, technically, you can't get back the password with certainty (you can get something that has a strong possibility of being the password, particularly with weak passwords, but that isn't certainty) the usual approach is to say to the user 'here is your new temporary password, now change it to something that you would like...and check that they have actually changed it.

What comes to mind is the old Rolling Stones song 'You can't always get what you want (particularly when it is computationally unfeasibly), but you might just find, if you try sometimes, you can get what you need'.

Doesn't scan that well, for some reason, though.
 
Old 11-08-2009, 12:45 PM   #19
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by Quakeboy02 View Post
Good grief! All this arguing about cracking passwords and LQ rules, when all the OP has to do is change the password and notify the user what his new password is.
Right, but the OP actually specified that he did NOT want to do that.
Quote:
Originally Posted by mrlinux2000 View Post
i want to get a passwrod for a user not root and not changing it ...
This, of course, puts an interesting spin on things.

Last edited by win32sux; 11-08-2009 at 12:47 PM.
 
Old 11-08-2009, 01:16 PM   #20
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by win32sux View Post
Right, but the OP actually specified that he did NOT want to do that.
I've never been accused of giving the user what he wants when some other response would be better. I've always felt that if the user knew the proper solution, he wouldn't need to ask the question.
 
Old 11-08-2009, 01:21 PM   #21
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by Quakeboy02 View Post
I've never been accused of giving the user what he wants when some other response would be better. I've always felt that if the user knew the proper solution, he wouldn't need to ask the question.
Heh, fair enough.
 
Old 11-08-2009, 01:25 PM   #22
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
At this point, I would like to remind everyone that providing assistance with cracking is not allowed here at LQ. Any member who goes down that path will be in violation of the LQ Rules. We are therefore unable to help the OP with running the hash through a password cracker, and the question of why exactly he is unable/unwilling to change the password must be raised.
 
Old 11-08-2009, 01:29 PM   #23
pcunix
Member
 
Registered: Dec 2004
Location: MA
Distribution: Various
Posts: 149

Rep: Reputation: 23
Quote:
Originally Posted by Quakeboy02 View Post
I've never been accused of giving the user what he wants when some other response would be better. I've always felt that if the user knew the proper solution, he wouldn't need to ask the question.
OK. Maybe he didn't ask the right question?

Maybe he's concerned that the user used a weak password and therefore his question should have been "How do I enforce tougher password policies?"

I suppose it could be for illegal purpose too. If you suspect that I might have used the same password on my bank account, then he asked the right question and it's the hapless user who needs education.

Maybe it was just curiosity.

Maybe he has reason to login as that user and doesn't know about "su - username" - again, wrong question.


Maybe it was a homework question, better cloaked than most.

Maybe, maybe. I think people deserve full answers. Sometimes we get a clue that they might be asing the wrong question and I think it's worth exploring that too, if for no other reason than the edification of another reader.

But... it's not my forum. I don't set the rules or the tone.
 
Old 11-08-2009, 02:35 PM   #24
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Quote:
Originally Posted by pixellany View Post
But that does not help if the user has lost his/her password......
It wasn't clear to me if the user lost their password or if the OP being an admin had inadvertently blown it away and was trying to restore it to what it had been before.

If they don't know the original password and don't have the encrypted password it seems only psychic powers or a time machine would get it back.
 
Old 11-09-2009, 03:55 AM   #25
mrlinux2000
Member
 
Registered: Feb 2008
Posts: 144

Original Poster
Rep: Reputation: 15
thanks for you all...
 
  


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
need help lost password wrighty2008 Linux - Laptop and Netbook 3 01-05-2009 01:22 AM
Lost Password ockertom Linux - Software 5 03-19-2007 11:49 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
Lost my password dlandsurveys Slackware 6 01-28-2003 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:36 PM.

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