跳至內容

Solaris 10/檔案系統與目錄架構

維基教科書,自由的教學讀本

Solaris 架構 Solaris 平台所需的架構有:

Solaris 項目架構

基於角色的訪問控制和執行配置文件架構

印表機架構

Solaris 項目架構 /etc/project 是與項目相關聯的屬性的本地源。有關更多信息,請參見 project(4)。

項目屬性如下所示:


( 1.3.6.1.4.1.42.2.27.5.1.1 NAME 'SolarisProjectID'

 DESC 'Unique ID for a Solaris Project entry'
 EQUALITY integerMatch
 SYNTAX INTEGER SINGLE )


( 1.3.6.1.4.1.42.2.27.5.1.2 NAME 'SolarisProjectName'

 DESC 'Name of a Solaris Project entry'
 EQUALITY caseExactIA5Match
 SYNTAX IA5String SINGLE )


( 1.3.6.1.4.1.42.2.27.5.1.3 NAME 'SolarisProjectAttr'

 DESC 'Attributes of a Solaris Project entry'
 EQUALITY caseExactIA5Match
 SYNTAX IA5String )


( 1.3.6.1.4.1.42.2.27.5.1.30 NAME 'memberGid'

 DESC 'Posix Group Name'
 EQUALITY caseExactIA5Match
 SYNTAX 'IA5String' ) 

項目objectClass 如下所示:


( 1.3.6.1.4.1.42.2.27.5.2.1 NAME 'SolarisProject'

 SUP top STRUCTURAL
 MUST ( SolarisProjectID $ SolarisProjectName )
 MAY ( memberUid $ memberGid $ description $ SolarisProjectAttr ) ) 

基於角色的訪問控制和執行配置文件架構 /etc/user_attr 是與用戶和角色相關聯的擴展屬性的本地源。有關更多信息,請參見 user_attr(4)。

基於角色的訪問控制 屬性如下所示:


( 1.3.6.1.4.1.42.2.27.5.1.4 NAME 'SolarisAttrKeyValue'

 DESC 'Semi-colon separated key=value pairs of attributes'
 EQUALITY caseIgnoreIA5Match
 SUBSTRINGS caseIgnoreIA5Match
 SYNTAX 'IA5String' SINGLE-VALUE )


( 1.3.6.1.4.1.42.2.27.5.1.7 NAME 'SolarisAttrShortDesc'

 DESC 'Short description about an entry, used by GUIs'
 EQUALITY caseIgnoreIA5Match
 SYNTAX 'IA5String' SINGLE-VALUE )


( 1.3.6.1.4.1.42.2.27.5.1.8 NAME 'SolarisAttrLongDesc'

 DESC 'Detail description about an entry'
 EQUALITY caseIgnoreIA5Match
 SYNTAX 'IA5String' SINGLE-VALUE )


( 1.3.6.1.4.1.42.2.27.5.1.9 NAME 'SolarisKernelSecurityPolicy'

 DESC 'Solaris  kernel security policy'
 EQUALITY caseIgnoreIA5Match
 SYNTAX 'IA5String' SINGLE-VALUE )


( 1.3.6.1.4.1.42.2.27.5.1.10 NAME 'SolarisProfileType'

 DESC 'Type of object defined in profile'
 EQUALITY caseIgnoreIA5Match
 SYNTAX 'IA5String' SINGLE-VALUE )


( 1.3.6.1.4.1.42.2.27.5.1.11 NAME 'SolarisProfileId'

 DESC 'Identifier of object defined in profile'
 EQUALITY caseExactIA5Match
 SYNTAX 'IA5String' SINGLE-VALUE )


( 1.3.6.1.4.1.42.2.27.5.1.12 NAME 'SolarisUserQualifier'

 DESC 'Per-user login attributes'
 EQUALITY caseIgnoreIA5Match
 SYNTAX 'IA5String' SINGLE-VALUE )


( 1.3.6.1.4.1.42.2.27.5.1.13 NAME 'SolarisReserved1'

 DESC 'Reserved for future use'
 EQUALITY caseIgnoreIA5Match
 SYNTAX 'IA5String' SINGLE-VALUE )


( 1.3.6.1.4.1.42.2.27.5.1.14 NAME 'SolarisReserved2'

 DESC 'Reserved for future use'
 EQUALITY caseIgnoreIA5Match
 SYNTAX 'IA5String' SINGLE-VALUE ) 

基於角色的訪問控制 objectClassses 如下所示:


( 1.3.6.1.4.1.42.2.27.5.2.3 NAME 'SolarisUserAttr' SUP top AUXILIARY

 DESC 'User attributes'
 MAY ( SolarisUserQualifier $ SolarisAttrReserved1 $ \
       SolarisAttrReserved2 $ SolarisAttrKeyValue ) )


( 1.3.6.1.4.1.42.2.27.5.2.4 NAME 'SolarisAuthAttr' SUP top STRUCTURAL

 DESC 'Authorizations data'
 MUST cn
 MAY ( SolarisAttrReserved1 $ SolarisAttrReserved2 $ \
       SolarisAttrShortDesc $ SolarisAttrLongDesc $ \
       SolarisAttrKeyValue ) )


( 1.3.6.1.4.1.42.2.27.5.2.5 NAME 'SolarisProfAttr' SUP top STRUCTURAL

 DESC 'Profiles data'
 MUST cn
 MAY ( SolarisAttrReserved1 $ SolarisAttrReserved2 $ \
       SolarisAttrLongDesc $ SolarisAttrKeyValue ) )


( 1.3.6.1.4.1.42.2.27.5.2.6 NAME 'SolarisExecAttr' SUP top AUXILIARY

 DESC 'Profiles execution attributes'
 MAY ( SolarisKernelSecurityPolicy $ SolarisProfileType $ \
       SolarisAttrReserved1 $ SolarisAttrReserved2 $ \
       SolarisProfileId $ SolarisAttrKeyValue ) )