1LCP_WRITEPOL(8) User Manuals LCP_WRITEPOL(8)
2
3
4
6 lcp_writepol - write LCP policy into a TPM NV index
7
9 lcp_writepol -i index-value [-f policy-file | -e] [-p passwd] [-h]
10
12 lcp_writepol is used to write LCP policy into a (previously-defined)
13 TPM NV index. It also supports writing arbitrary data into a specified
14 index.
15
17 -i index-value
18 Designate the index for writing. Index can be UINT32 or string.
19 3 strings are supported for the reserved LCP indices. Strings
20 and default index values for each string are:
21
22 default
23 0x50000001(INDEX_LCP_DEF)
24
25 owner 0x40000001(INDEX_LCP_OWN)
26
27 aux 0x50000002(INDEX_LCP_AUX)
28
29 -f policy-file
30 File name where the policy data is stored.
31
32 -e Write 0 length data to the index. This is useful for special
33 indices, such as those permission is WRITEDFINE.
34
35 -p password
36 The TPM owner password
37
38 -h Print out the help message
39
41 lcp_writepol -i default -f policy-file
42
43 lcp_writepol -i 0x00011101 -e
44
45 lcp_writepol -i 0x00011101 -f policy-file -p 123456
46
48 lcp_readpol(8), lcp_crtpol(8).
49
50
51
52tboot 2011-12-31 LCP_WRITEPOL(8)