-2

I cannot find how to install grub-crypt either.

How can I generate SHA512 pass hashes on Centos 7?

Edit: I was actually trying to look up how to generate hashes with an adjustable number of rounds. I had done this before but couldn't remember how I did it last time.

Steven Lu
  • 268
  • 1
  • 4
  • 12
  • 1
    What are these mkpassword and grub-crypt things you are referring to? I can't find any such things. – Michael Hampton Feb 24 '15 at 14:32
  • Are you kidding me? First two google searches http://serverfault.com/questions/330069/how-to-create-an-sha-512-hashed-password-for-shadow http://unix.stackexchange.com/questions/52108/how-to-create-sha512-password-hashes-on-command-line – Steven Lu Feb 24 '15 at 15:17
  • 1
    No, I'm not kidding. If you use some nonstandard utility that many people won't be familiar with, you should have some respect for the people you're asking to help you and explain it. – Michael Hampton Feb 24 '15 at 15:23
  • I apologize for the rudeness. It's very frustrating because I used to know how to do this before but now I can't get this to work. – Steven Lu Feb 24 '15 at 15:38
  • No problem. - I've marked this as a duplicate, since your question about mkpasswd is the same, and the answer you chose is also present there. I don't know what question you have about grub-crypt, but you should ask a new question if you still need to do so. – Michael Hampton Feb 24 '15 at 15:59
  • I actually found the same blog page that I found 2 years ago, which contained the name of the file I had to edit to get what I needed. I will change my answer... It's technically not really a dupe but whatever. – Steven Lu Feb 24 '15 at 16:39

1 Answers1

1

I can use this solution with the way to generate a random hash given in a comment.

The page I was looking for (which I didn't know I was looking for) was this page. It contains information that allows me to configure the # of rounds of hashing to do for passwords. Then in order to generate new passwords, I simply set the password for a user as root, and read out the hash from /etc/shadow.

Steven Lu
  • 268
  • 1
  • 4
  • 12