Reputation: 466
I am attempting to install CoreOS for the first time and am currently working my way through the initial FCC file which will be transpiled into the ignition file.
The Fedora CoreOS FCCT Specification and documentation is very helpful in breaking down the syntax of the FCC yaml file, however, there is one detail I am unclear on. When building the passwd
node, the documentation states that I can add a hashed password for a user.
My question is, is there a specific hashing method I need to use to generate this hash? I have been unable to find any information regarding being able to specify which hash function was used, and since I'm fairly new to the concept, I'm not sure if it is even necessary to do so. Can I just generate a sha-256
hash using mkpasswd
and paste it into the yaml file?
Upvotes: 1
Views: 1306
Reputation: 31
To generate a secure password hash, use the mkpasswd command:
mkpasswd --method=yescrypt
Upvotes: 3