Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Nov 14, 2024
1 parent 6a1c3d2 commit 3b5a13c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions doc/autoyast.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,24 @@ For the first user, the following elements are supported:
| user_password | Yes | password | |
| username | Yes | userName | |

#### Encrypted password

The encrypted password can be obtained by running the `mkpasswd` command from the `whois` package.

To get the list of supported hashing methods run the `mkpasswd --method=help` command. Then use the
selected method for hashing your password, for example `mkpasswd --method=yescrypt`.

Make sure the selected hashing method is supported by the target system, different systems might
support different set of methods.

>[!CAUTION]
>
> Do not use any DES or MD5 based algorithms, these are considered insecure. Check `man 5 crypt`
> manual page for details about the hashing methods and their strength.
Alternatively you can use the `openssl passwd -6` command. This generates a SHA-512 password hash,
for the SHA-256 method use the `-5` option.

### `keyboard`

Only the `keymap` element is translated. The rest of options are ignored in YaST and they are not
Expand Down

0 comments on commit 3b5a13c

Please sign in to comment.