Questions tagged [shadow]

101 questions
3
votes
1 answer

/etc/shadow encryption method

http://www.aychedee.com/2012/03/14/etc_shadow-password-hash-formats/ From the above article I can see the password can be encrypt in abot 6 different ways to genereate the hash in the format of $1$ ... However, when I read the shadow file of my…
1
vote
2 answers

Change Shadow Password

I am looking for a sed command to change the line: userA:$6$lhkjhl$sdlfhlmLMHQSDFM374FGSDFkjfh/7mD/354dshkKHQSkljhsd.sdmfjlk57HJ/:95170:::::: to userA:$6$sLdkjf$576sdKUKJGKmlk565oiuljkljpi/9Fg/rst3587zet324etze.dsfgLIMLmdf/:34650::::::
Med
  • 125