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
33 NON-INTERACTIVE MODE
34
35 The utility accepts exactly one parameter - the password. Entries are
36 sorted from oldest to newest.
37
38 $ pwkickstart mypass
39 $1$6FrN7YsS$2o3lfiD9T4LlUfKBgCe0X1
40 $5$S2Zab0elQkL7fN.ikw.jmZeb7qtEK7DJESPDv9
41 $6$slYmPDc8PtwOPmnx$9u3X3NE73XxuU7.5YlJAm/QMEahzx
42
43 To get the "strongest" possible hash:
44
45 $ pwkickstart mypass | tail -n1
46 $6$slYmPDc8PtwOPmnx$9u3X3NE73XxuU7.5YlJAm/QMEahzx
47
48 Grep exactly what's needed:
49
50 $ pwkickstart mypass | grep '
51 $6$slYmPDc8PtwOPmnx$9u3X3NE73XxuU7.5YlJAm/QMEahzx
52
53
55 MIT License
56
58 openssl(1)
59
61 Lukas Zapletal <lzap+spam@redhat.com>
62
63
64
651.0.3 26 July 2019 pwkickstart(1)