/** * vBulletin 3.8.8 Beta 1 CSS * Style: 'LQ Style - child of default'; Style ID: 7 */ @import url("http://www.linuxquestions.org/questions/clientscript/vbulletin_css/style-7eb8640c-00007.css"); /etc/shadow hash changes?
LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 12-28-2008, 10:18 AM   #1
Oxagast
Member
 
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Rep: Reputation: 30
/etc/shadow hash changes?


Hi, I was just messing around, and I realized that the new accounts I've created on my system have a much longer hash, and begin with $6$ instead of $1$ like my older useraccounts that havn't had their passwords changed in awhile. What's the reason for this, and what does it mean? What do the cooresponding $1$ and $6$ mean, and whatever other values might be there?
 
Old 12-28-2008, 12:07 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

The $X$ string tells crypt what hash to use - $1$ is MD5. $5$ and $6$ are SHA, presumably SHA-1 and SHA2 respectively, although I can't find any documentation which is particularly helpful (googleing for strings like $6$ doesn't get much joy).

Edit: Found this: http://en.wikipedia.org/wiki/Crypt_(...brary_Function

Dave

Last edited by ilikejam; 12-28-2008 at 12:08 PM. Reason: Wiki link
 
  


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
What is used to create the shadow password hash?? helptonewbie Linux - General 11 08-17-2009 02:02 AM
need help unpacking hmac-md5 hash into md5 hash lynx5 Programming 3 02-02-2008 04:06 PM
changing the /etc/shadow hash algo. zerg4141 Linux - Security 2 08-07-2006 08:32 PM
Using hash value as key for other hash in Perl scuzzman Programming 6 02-14-2006 05:08 PM
/etc/shadow- (notice the dash after the word shadow) shellcode Linux - Security 1 09-03-2004 04:54 AM


All times are GMT -5. The time now is 05:32 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