1pwkickstart(1) pwkickstart(1)
2
3
4
6 pwkickstart - generate kickstart passwords
7
9 Generates kickstart-compatible syntax by default.
10
11 $ pwkickstart
12 Password:
13
14 # md5
15 rootpw --iscrypted $1$SI$D964QyK1.Iz/
16 # sha256
17 rootpw --iscrypted $5$Ll/Q6$SEYqHGso3maNbtBc1wjyiyr2
18 # sha512
19 rootpw --iscrypted $6$MN7wS$1QE3FmSBrN71tXV8y.Blif1avdhTYt/
20
21
23 Utility pwkickstart generates kickstart passwords from password input
24 and prints them to standard output in three different formats: md5,
25 sha256 and sha512.
26
27 Previously grub-crypt provided the same, but it is not longer available
28 in some Linux distributions.
29
30 The output in section was shortened to fit on screen in the SYNOPOSIS
31 example above.
32
34 The utility accepts exactly one parameter - the password. Entries are
35 sorted from oldest to newest.
36
37 $ pwkickstart mypass
38 $1$6FrN7YsS$2o3lfiD9T4LlUfKBgCe0X1
39 $5$S2Zab0elQkL7fN.ikw.jmZeb7qtEK7DJESPDv9
40 $6$slYmPDc8PtwOPmnx$9u3X3NE73XxuU7.5YlJAm/QMEahzx
41
42 To get the "strongest" possible hash:
43
44 $ pwkickstart mypass | tail -n1
45 $6$slYmPDc8PtwOPmnx$9u3X3NE73XxuU7.5YlJAm/QMEahzx
46
47 Grep exactly what's needed:
48
49 $ pwkickstart mypass | grep '
50 $6$slYmPDc8PtwOPmnx$9u3X3NE73XxuU7.5YlJAm/QMEahzx
51
52
54 MIT License
55
57 openssl(1)
58
60 Lukas Zapletal <lzap+spam@redhat.com>
61
62
63
641.0.3 21 July 2023 pwkickstart(1)