1hextoalabel(1M) System Administration Commands hextoalabel(1M)
2
3
4
6 hextoalabel - convert an internal text label to its human readable
7 equivalent
8
10 /usr/sbin/hextoalabel [internal-text-sensitivity-label]
11
12
13 /usr/sbin/hextoalabel -c [internal-text-clearance]
14
15
17 hextoalabel converts an internal text label into its human readable
18 equivalent and writes the result to the standard output file. This
19 internal form is often hexadecimal. If no option is supplied, the label
20 is assumed to be a sensitivity label.
21
22
23 If no internal text label is specified, the label is read from the
24 standard input file. The expected use of this command is emergency
25 repair of labels that are stored in internal databases.
26
28 -c Identifies the internal text label as a clearance.
29
30
32 The following exit values are returned:
33
34 0 On success.
35
36
37 1 On failure, and writes diagnostics to the standard error file.
38
39
41 See attributes(5) for descriptions of the following attributes:
42
43
44
45
46 ┌─────────────────────────────┬─────────────────────────────┐
47 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
48 ├─────────────────────────────┼─────────────────────────────┤
49 │Availability │SUNWtsu │
50 ├─────────────────────────────┼─────────────────────────────┤
51 │Interface Stability │See below. │
52 └─────────────────────────────┴─────────────────────────────┘
53
54
55 The command output is Committed for systems with the same label_encod‐
56 ings file. The command invocation is Committed for systems that imple‐
57 ment the DIA MAC policy.
58
60 /etc/security/tsol/label_encodings
61
62 The label encodings file contains the classification names, words,
63 constraints, and values for the defined labels of this system.
64
65
67 atohexlabel(1M), label_to_str(3TSOL), str_to_label(3TSOL), label_encod‐
68 ings(4), attributes(5)
69
70
71 How to Get a Readable Label From Its Hexadecimal Form in Solaris
72 Trusted Extensions Administrator's Procedures
73
75 The functionality described on this manual page is available only if
76 the system is configured with Trusted Extensions.
77
78
79 This file is part of the Defense Intelligence Agency (DIA) Mandatory
80 Access Control (MAC) policy. This file might not be applicable to other
81 MAC policies that might be developed for future releases of Solaris
82 Trusted Extensions software.
83
84
85
86SunOS 5.11 20 Jul 2007 hextoalabel(1M)