in reply to
Re: Authentication with /etc/shadow
in thread Authentication with /etc/shadow
I chopped the first 2 chars off to use as the salt but, as you said, the hash actually started $6$ with a $ delimiter at the 8th char.
so this must be the MD5 format
The start of the hash is "$6$ENtbbZ8/$" so the $salt would be "ENtbbZ8/" ? ...
and then my little code snippet might work?
Will check out the crypt manpage