Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lcp_readpol(8) [centos man page]

LCP_READPOL(8)							   User Manuals 						    LCP_READPOL(8)

NAME
lcp_readpol - read the contents of an LCP policy index SYNOPSIS
lcp_readpol -i index-value [-f policy-file] [-s size] [-p passwd] [-h] DESCRIPTION
lcp_readpol is used to read the contents of an LCP policy index. Any index can be specified but the output will be parsed as if it con- tained a policy. OPTIONS
-i index-value Designate the index for reading. Index can be UINT32 or string. 3 strings are supported for the reserved LCP indices. Strings and default index values for each string are: default 0x50000001(INDEX_LCP_DEF) owner 0x40000001(INDEX_LCP_OWN) aux 0x50000002(INDEX_LCP_AUX) -f policy-file File name to write the policy data to. If no file name is specified then the contents will be displayed. -s size Value size to read from NV store. If no size inputted, read by length as this index defined. -p password The TPM owner password -h Print out the help message EXAMPLES
lcp_readpol -i default -f policy-file lcp_readpol -i 0x00011101 -s 10 lcp_readpol -i 0x00011101 -f policy-file -p 123456 SEE ALSO
lcp_writepol(8), lcp_crtpol(8). tboot 2011-12-31 LCP_READPOL(8)

Check Out this Related Man Page

LCP_CRTPOL2(8)							   User Manuals 						    LCP_CRTPOL2(8)

NAME
lcp_crtpol2 - create an Intel(R) TXT policy (and policy data file) SYNOPSIS
lcp_crtpol2 COMMAND [OPTION] DESCRIPTION
lcp_crtpol2 is used to create an Intel(R) TXT policy (and policy data file) for platforms produced after 2008. OPTIONS
--create Create an TXT policy. The following options are available: --type any|list type --pol file policy file [--ver version] version [--minver ver] SINITMinVersion [--rev ctr1,ctrN] revocation values (comma separated, no spaces) [--ctrl pol-ctrl] policy control [--data file] policy data file [file]... policy list files --show Show the content of policy file or policy data file. Available options are: [--brief] breif format output [policy-file] policy file [policy-data-file] policy data file --help Print out the help message. --verbose Enable verbose output; can be specified with any command. EXAMPLES
Assuming a policy list file list-unsig.lst has been created by the command lcp_crtpolist(8). The following example will create a policy and policy data file. lcp_crtpol2 --create --type list --pol list.pol --data list.data list-unsig.lst SEE ALSO
lcp_crtpol(8), lcp_mlehash(8), lcp_crtpolelt(8), lcp_crtpollist(8). tboot 2011-12-31 LCP_CRTPOL2(8)
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

help --translation

I am reading the SANS security policy--.I want to translate the to Chinese.But I don`t understand a paragraph of the. It is :"Where SNMP is used, the community strings must be defined as something other than the standard defaults of "public," "private" and "system" and must be different from... (1 Reply)
Discussion started by: beijingzhzj
1 Replies

2. Shell Programming and Scripting

how to read the contents of a file using PERL

Hi My requirement is to read the contents of a fixed length file and validate the same. But am not able to read the contents of the file and when i tried it to print i get <blank> as an output... I used the below satatements for printing the contents ... (3 Replies)
Discussion started by: meva
3 Replies

3. Infrastructure Monitoring

Processing records as group - awk

I have a file has following records policy glb id 1233 name Permit ping from "One" to "Second" "Address1" "Any" "ICMP-ANY" permit policy id 999251 service "snmp-udp" exit policy glb id 1234 name Permit telnet from "One" to "Second" "Address2" "Any" "TCP-ANY" permit policy id 1234... (3 Replies)
Discussion started by: baskar
3 Replies

4. Shell Programming and Scripting

File Operation

I have one text file like 1 filename 2 filename2 3 hi 4 myname i have one variable in which i have index value..i.e.1,2,3 and so... i want to copy value after the index into somevariable..... how i can do it.... (2 Replies)
Discussion started by: AbhijitIT
2 Replies

5. UNIX for Dummies Questions & Answers

Shadow file password policy

(13 Replies)
Discussion started by: pinga123
13 Replies

6. Shell Programming and Scripting

replace multiple existence of : symbol with one

Infile Outfile (3 Replies)
Discussion started by: dvah
3 Replies