HP OpenVMS Systems
HP Advanced Server for OpenVMS
To display directory and file permissions, use the SHOW FILES/PERMISSIONS command, specifying a share name and its path. For example, with a share called RAINBOW and a file called LOGS.TXT, you can display permissions as follows:
LANDOFOZ\\TINMAN> SHOW FILES RAINBOW\LOG.TXT /PERMISSIONS Files in: \\TINMAN\RAINBOW LOGS.TXT Permissions: Administrators Full (All) Everyone Change (RWXD) Server Operators Change (RWXD) SYSTEM Full (All) Total of 1 file LANDOFOZ\\TINMAN>
If the Advanced Server and OpenVMS security model is enabled, and a
network user attempts to access a file or directory, the access must be
allowed by two security checks: network permissions, and OpenVMS file
and directory protections.
22.214.171.124 OpenVMS Protections
Every file on an OpenVMS system has four protection codes:
When a network user attempts to access a file, the following rules determine the way that OpenVMS system protections control the access:
When you assign permissions for a resource, you can also audit use of the resource. The Advanced Server can write an entry to the Security event log whenever a user accesses the resource in a certain way. The audit entry shows the resource, action performed, user who performed it, and date and time of the event.
Events that Advanced Server can audit for directory and file access include:
When you create a file or directory, you become its owner. By granting
permissions, the owner controls how the file or directory is used. The
owner can grant permission to another user to take ownership of a file
or directory. Otherwise, you must be logged on as a member of the
Administrators group to take ownership. Although an administrator can
take ownership, an administrator cannot transfer ownership to others.
This preserves security. To make sure that your files are secure, you
should check their ownership regularly using the SHOW FILES/OWNER
126.96.36.199 Authorizing a User to Take Ownership of a File or Directory
You can specify permission to take ownership of a file or a directory using the following commands:
For example, to authorize the user SCARECROW to take ownership of a file called SIMIANS.DAT that is stored on domain LANDOFOZ in the directory \WITCH\MKEY, enter the following command:
LANDOFOZ\\TINMAN> SET FILE WITCH\MKEY\SIMIANS.DAT - _LANDOFOZ\\TINMAN>SCARECROW/PERMISSIONS=FILE_SPECIFIC=TAKE_OWNERSHIP %PWRK-S-FILEMOD, "\\TINMAN\WITCH\MKEY\SIMIANS.DAT" modified
To take ownership of a file or directory, use the TAKE FILE OWNERSHIP command as follows:
TAKE FILE OWNERSHIP UNCpath [/qualifiers])
For example, the following command takes ownership of the file called SIMIANS.DAT that is stored on domain LANDOFOZ in the directory \WITCH\MKEY:
LANDOFOZ\\TINMAN> TAKE FILE OWNERSHIP WITCH\MKEY\SIMIANS.DAT %PWRK-S-FILEMOD, "\\TINMAN\WITCH\MKEY\SIMIANS.DAT" modified LANDOFOZ\\TINMAN>
You can manage shares on the Advanced Server using a Windows NT Server. When the Windows NT Server performs server administration, the Windows NT server administration tool Server Manager attempts to verify the share path locally before passing the server operation request to the Advanced Server. Any share path that does not conform to the device:\directory convention, where device: is a single letter drive letter, fails the share path verification; therefore, you cannot manage an Advanced Server share from the Windows NT Server Manager if the share path does not conform to the device:\directory convention.
The following sections describe ways to manage an Advanced Server share
from the Windows NT Server.
188.8.131.52 Adding a Share from a Windows NT Server
To add an Advanced Server share using a Windows NT Server, use one of the following procedures:
Key: SYSTEM\CurrentControlSet\Services\AdvancedServer\ShareParameters Value: Autoshare= DUA1=D
To display and modify the OpenVMS share from a Windows NT Server, use the following share path:
For example, if you add a share using the ADMINISTER command ADD SHARE, and you specify $1$DUA2:[SHARE.LEVEL2] as the share path for share LEVEL2, when you display this share from the Windows NT Server Manager, the share path is displayed in the following format:
Unicode and extended character sets provide an extensive character coding system and standard designed to support written texts of the diverse languages of the modern world, independent of the platform, application, or language. It provides applications a consistent way of encoding multilingual plain text and brings order to a chaotic state of affairs that made it difficult to exchange text files internationally.
Previous to the development of this coding system, hundreds of encoding systems existed, but none of these was extensive enough to include all possible characters --- including punctuation and other special characters, symbols, or glyphs --- in a given language. Any given computer (especially servers) needs to support many different encodings; yet whenever data is passed between different encodings or platforms, that data always runs the risk of misinterpretation. That is, two encodings might use the same number for two different characters, or use different numbers for the same character. This conflict between the encodings causes a misrepresentation of the character set.
The design of extended character sets is based on the simplicity and consistency of the ASCII encoding, but goes far beyond ASCII's limited ability to encode only the Latin alphabet. Ultimately, the design provides the capacity to encode all of the characters used for the written languages of the world. To keep character coding simple and efficient, it assigns each character a unique 16-bit value, and does not require the use of complex modes or escape codes. It provides codes for diacritics, which are modifying character marks (such as the tilde (~)) that are used in conjunction with base characters to encode accented or vocalized letters (for example, ñ).
As an overview of character sets, codes, and encoding, the simplest and most widely known example is the 7-bit ASCII character set. The character codes defined by the ASCII standard assigns positive integers or code numbers, consecutively, to an ordered set of 128 characters. The character set includes the writable letters of the English alphabet (A to Z, and a to z), the digits (0 to 9), the space character, and the punctuation and symbols found on the standard English keyboard, plus several control characters (such as linefeed (LF) and escape (ESC)). The ASCII standard specifies a character encoding in which each code number is assigned a unique 8-bit character with the same value. (Although ASCII uses 7 bits, the encoding refers to 8-bit characters because all standard computers are designed to handle 8-bit bytes.) Octets (code values or positions) 128 through 255 are not used in ASCII. Code values 0 to 31 and 127 do not correspond to printable characters. The ASCII character set is a common denominator contained in all other common character sets.
The ASCII coding had many limitations. Previous to V7.3 of the Advanced Server for OpenVMS, the only character set other than ASCII supported by the file server on OpenVMS V7.2 systems was the 8-bit ISO Latin-1 character set (ISO-8859-1). The ISO Latin-1 character set includes the ASCII characters (occupying code positions 0 to 127) plus various accented characters and other letters for writing languages of Western Europe, and some special characters (these latter groups occupy positions 160 to 255; positions 127 through 160, as well as 0 through 31, are reserved for control characters).
MS-DOS and Windows 3.1 developed language-specific character sets called code pages to expand beyond the limitations of the ASCII set. They are ordered sets of 255 characters with an 8-bit numeric index to represent each character. Language-specific code pages were developed because the sum of characters used in languages worldwide exceeds 255. All the language-specific code pages overlay the same set of 8-bit representations. For example, a specific 8-bit coding in a code page used for the English language can be used for another character in a code page used for the Cyrillic language. An application has to be set to interpret the codes in the context of the selected code page.
Each 8-bit index value or code position in a code page is called a code point or code value. Most code pages, including those of the Advanced Server, map characters 0 to 128 to the ASCII character set.
ISO 10646 is an international standard that defines thousands of characters. Unicode is a standard that defines a character set and character code compatible with ISO 10646, and also defines a character encoding. It includes coding for virtually all character sets around the world. The Unicode encoding UCS-2 presents each code number as a two-byte integer. It is the most common Unicode set in use today.
A client computer that supports Unicode, or which is configured to use a code page that is not related to a Western European language, can create files with characters in the file name that are not part of the ISO Latin-1 character set. However, any Advanced Server for OpenVMS previous to V7.3 could not store files using these file names.
The latest version of the Advanced Server for OpenVMS file server can now support certain Unicode characters or extended character sets that are foreign to the Western European languages. The characters that the Advanced Server for OpenVMS can support at any time depend on the language configured for the server. Each language is associated with one of the ISO-8859 character sets supported by the Advanced Server. Each ISO-8859 character set supports one or more languages.
You can configure any one of over 40 languages. Table 4-10 lists each configurable language and the associated client code page and ISO-8859 character set. Notice that two of these languages provide support for the Euro currency symbol:
English (USA) + Euro
Western Europe + Euro.
For an up-to-date list indicating which of these 40 languages are officially supported by the Advanced Server, refer to the Software Product Description (SPD).
|Language||Code Page||Character Set|
|12||English (USA) + Euro||CP437||ISO8859-1-EURO|
|17||French (Canada MS-DOS)||CP863||ISO8859-1|
|28||Nordic L. (MS-DOS)||CP865||ISO8859-1|
|43||Western Europe + Euro||CP850||ISO8859-1-EURO|
The langagues and their associated ISO-8859 character sets are a subset of the Unicode (UCS-2) character sets supported on OpenVMS ODS-5 disk structures. As mentioned, you configure the Advanced Server to support one, and only one, of the languages at a time.
Support of the extended character set characters makes available a broader set of characters for objects manageable by the Advanced Server, including file names, user names, group names, and file and print share names. Each character set also applies to text strings (such as descriptions) that users can specify when managing any of these objects. Windows NT-compatible Advanced Server printer description and location fields support all Unicode characters. (These characters are not supported in computer names, alias names, domain names, and trusted domain names.)
Each character set maps the 8-bit code point values (0 to 255) to
16-bit UCS-2 (Unicode) characters, and thus are much more extensive
than the standard 7-bit ASCII character set.
4.4.1 Requirements and Restrictions
Observe the following requirements and restrictions regarding the use of extended character sets with the Advanced Server:
By default, the language of the Advanced Server is "English (USA)", associated with character set ISO-8859-1. During the configuration procedure (PWRK$CONFIG.COM), you can specify any one of over 40 languages, each which maps to one of the nine supported ISO-8859 character sets. The HP Advanced Server for OpenVMS Server Installation and Configuration Guide explains how to configure the Advanced Server language. For an up-to-date list of languages that are officially supported by the Advanced Server, refer to the Software Product Description (SPD).
Although you can change the server's language at any time (after stopping the Advanced Server), HP recommends that once a choice is made, you do not alter that choice. Certain objects might exist whose names include characters that are not included in the new language that you select. After you select a new language, PWRK$CONFIG converts all text strings in the Security Account Manager (SAM), access control list (ACL), and share databases from the old character set (for the previous language) to the new set (for the new language). Note that for some languages, only the client code page value is changed.
If any of these databases contain text strings that cannot be converted (that is, object names that contain characters not included in the newly configured Advanced Server language character set), the PWRK$CONFIG procedure reverts to the set of databases that existed prior to conversion attempt. Error messages will indicate the names that could not be converted, and the language is reset to the original language. You must rename (or remove) the objects that cannot be converted, and rerun PWRK$CONFIG to change the language.
Each supported character set has an associated Locale file that defines the casing rules specific to the character set and is consistent with ODS-5. The Locale file for each character set is defined in the OpenVMS Registry as server parameter value ServerLocale, in the following key:
Note that server Locale files contain casing rules that match the Unicode rules used on OpenVMS ODS-5. The Locale files use the same character classifications as defined by UTF8-20, for all characters in the Advanced Server character set. (UTF8-20 defines an efficient method for encoding Unicode characters. It optimizes the encoding of ASCII characters, which appear in the majority of text-based communications.)