Skip to content

Commit

Permalink
Merge pull request #445 from bgilbert/pbkdf
Browse files Browse the repository at this point in the history
docs: document command for generating GRUB password hashes
  • Loading branch information
bgilbert committed Mar 22, 2023
2 parents e01d779 + 3537aa7 commit 62797cf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/config-fcos-v1_5.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ The Fedora CoreOS configuration is a YAML document conforming to the following s
* **_grub_** (object): describes the desired GRUB bootloader configuration.
* **_users_** (list of objects): the list of GRUB superusers.
* **name** (string): the user name.
* **password_hash** (string): the PBKDF2 password hash.
* **password_hash** (string): the PBKDF2 password hash, generated with `grub2-mkpasswd-pbkdf2`.

[part-types]: http://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs
[rfc2397]: https://tools.ietf.org/html/rfc2397
Expand Down
2 changes: 1 addition & 1 deletion docs/config-fcos-v1_6_exp.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ The Fedora CoreOS configuration is a YAML document conforming to the following s
* **_grub_** (object): describes the desired GRUB bootloader configuration.
* **_users_** (list of objects): the list of GRUB superusers.
* **name** (string): the user name.
* **password_hash** (string): the PBKDF2 password hash.
* **password_hash** (string): the PBKDF2 password hash, generated with `grub2-mkpasswd-pbkdf2`.

[part-types]: http://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs
[rfc2397]: https://tools.ietf.org/html/rfc2397
Expand Down
3 changes: 1 addition & 2 deletions docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,7 @@ systemd:
```
## GRUB password

This example adds a superuser to GRUB and sets a password. Users without the given username
and password will not be able to access GRUB command line, modify kernel command-line arguments, or boot non-default OSTree deployments.
This example adds a superuser to GRUB and sets a password. Users without the given username and password will not be able to access GRUB command line, modify kernel command-line arguments, or boot non-default OSTree deployments. Password hashes can be generated with `grub2-mkpasswd-pbkdf2`.

<!-- butane-config -->
```yaml
Expand Down
1 change: 1 addition & 0 deletions docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ nav_order: 9
- Document that `hash` fields describe decompressed data
- Clarify spec docs for `files`/`luks` `hash` fields
- Document SSH key file path used by OpenShift 4.13+ _(openshift)_
- Document command to generate GRUB password hashes


## Butane 0.17.0 (2023-01-04)
Expand Down

0 comments on commit 62797cf

Please sign in to comment.