HP Workstation zx2000 HP Graphics Administration Guide for HP-UX 11.X (IPF ver - Page 36

security, Security Syntax, Syntax, Description

Page 36 highlights

configuring an X Server on HP-UX security This entire section was copied from the XFree86 Xserver(1) manual page. A security file must be placed somewhere on the system and loaded from the command line using the -sp option. The remainder of this section details the format and use of the security file. The syntax of the security policy file is as follows. Notation: "*" means zero or more occurrences of the preceding element, and "+" means one or more occurrences. To interpret , ignore the text after the /; it is used to distinguish between instances of in the next section. ::= * ::= '\n' ::= | | | ::= # * '\n' ::= '\n' ::= sitepolicy '\n' ::= property '\n' ::= ::= any | root | ::= | ::= = ::= [|| ]* ::= r | w | d ::= a | i | e ::= | | ::= " * " ::= ' * ' ::= + t' ]* Character sets: ::= any character except '\n' ::= any character except " ::= any character except ' ::= any character except those in The semantics associated with the above syntax are as follows. Security Section Syntax Syntax Description The first line in the file, specifies the file format version. If the server does not recognize the version , it ignores the rest of the file. The version string for the file format described here is "version-1". Once past the , lines that do not match the above syntax are ignored. These lines are ignored. 4-24 Graphics Administration Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66

4–24
Graphics Administration Guide
configuring an X Server on HP-UX
security
This entire section was copied from the X
Free86 Xserver(1)
manual page.
A security file must be placed somewhere on the system and loaded from the command line
using the
–sp
option. The remainder of this section details the format and use of the security file.
The syntax of the security policy file is as follows. Notation: “*” means zero or more occurrences
of the preceding element, and “+” means one or more occurrences. To interpret <foo/bar>, ignore
the text after the /; it is used to distinguish between instances of <foo> in the next section.
<policy file>
::= <version line> <other line>*
<version line>
::= <string/v> '\n'
<other line >
::= <comment> |
<access rule>|
<site policy>|
<blank line>
<comment>
::= # <not newline>* '\n'
<blank line>
::= <space> '\n'
<site policy>
::= sitepolicy <string/sp> '\n'
<access rule>
::= property <property/ar> <window>
<perms> '\n'
<property>
::= <string>
<window>
::= any | root | <required property>
<required property>
::= <property/rp>|<property with value>
<property with value> ::= <property/rpv> = <string/rv>
<perms>
::= [<operation>|<action>|<space> ]*
<operation>
::= r | w | d
<action>
::= a | i | e
<string>
::= <dbl quoted string> |
<single quoted string> |
<unquoted string>
<dbl quoted string>
::= <space> “ <not dqoute>* “ <space>
<single quoted string>::= <space> ' <not squote>* ' <space>
<unquoted string>
::= <space> <not space>+ <space>
<space>
::= [ ' ' | '\t' ]*
Character sets:
<not newline>::= any character except '\n’
<not dqoute> ::= any character except “
<not squote> ::= any character except '
<not space>
::= any character except those in <space>
The semantics associated with the above syntax are as follows.
Security Section Syntax
Syntax
Description
<version line>
The first line in the file, specifies the file format version. If the server does
not recognize the version <string/v>, it ignores the rest of the file. The
version string for the file format described here is “version-1”. Once past
the
<version line>
, lines that do not match the above syntax are ignored.
<comment>
These lines are ignored.