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