/** * vBulletin 3.8.9 Beta 4 CSS * Style: 'LQ Style - child of default'; Style ID: 7 */ @import url("http://www.linuxquestions.org/questions/clientscript/vbulletin_css/style-c9e40d50-00007.css"); /etc/shadow hash changes?
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 12-28-2008, 11:18 AM   #1
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, 01:07 PM   #2
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96

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


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


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

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

Main Menu
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
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration