[AIX, Linux, Windows]

AIX, Linux, and Windows 에서 프로파일 설정 덤프

dmpmqaut 제어 명령, DISPLAY AUTHREC MQSC 명령 또는 MQCMD_INQUIRE_AUTH_RECS PCF 명령을 사용하여 지정된 프로파일과 연관된 현재 권한을 덤프할 수 있습니다. IBM® MQ Appliance 에서는 DISPLAY AUTHREC 명령만 사용할 수 있습니다.

dmpmqaut 제어 명령 및 해당 구문의 전체 정의는 dmpmqaut를 참조하십시오.

DISPLAY AUTHREC MQSC 명령 및 해당 구문의 전체 정의는 DISPLAY AUTHREC를 참조하십시오.

MQCMD_INQUIRE_AUTH_RECS PCF 명령 및 해당 구문의 전체 정의는 권한 레코드 조회를 참조하십시오.

다음 예는 일반 프로파일의 권한 레코드를 버리기 위해 dmpmqaut 제어 명령을 사용하는 방법을 보여줍니다.
  1. 이 예는 프린시펄 user1에 대해 큐 a.b.c와 일치하는 프로파일이 있는 모든 권한 레코드를 버립니다.
    dmpmqaut -m qm1 -n a.b.c -t q -p user1
    
    버리기 결과는 다음과 같습니다.
    profile:     a.b.*
    object type: queue
    entity:      user1
    type:        principal
    authority:   get, browse, put, inq
    
    참고: AIX® and Linux® 사용자는 -p 옵션을 사용할 수 없습니다. 대신 -g groupname 를 사용해야 합니다.
  2. 이 예는 큐 a.b.c와 일치하는 프로파일이 있는 모든 권한 레코드를 버립니다.
    dmpmqaut -m qmgr1 -n a.b.c -t q
    
    버리기 결과는 다음과 같습니다.
    profile:     a.b.c
    object type: queue
    entity:      Administrator
    type:        principal
    authority:   all
    - - - - - - - - - - - - - - - - - 
    profile:     a.b.*
    object type: queue
    entity:      user1
    type:        principal
    authority:   get, browse, put, inq
    - - - - - - - - - - - - - - - - - 
    profile:     a.**
    object type: queue
    entity:      group1
    type:        group
    authority:   get 
    
  3. 이 예제는 a.b. * 프로파일에 대한 모든 권한 레코드를 덤프합니다. 표시합니다.
    dmpmqaut -m qmgr1 -n a.b.* -t q
    
    버리기 결과는 다음과 같습니다.
    profile:     a.b.*
    object type: queue
    entity:      user1
    type:        principal
    authority:   get, browse, put, inq
    
  4. 이 예는 큐 관리자 qmX의 모든 권한 레코드를 버립니다.
    dmpmqaut -m qmX
    
    버리기 결과는 다음과 같습니다.
    profile:     q1
    object type: queue
    entity:      Administrator
    type:        principal
    authority:   all
    - - - - - - - - - - - - - - - - - 
    profile:     q*
    object type: queue
    entity:      user1
    type:        principal
    authority:   get, browse
    - - - - - - - - - - - - - - - - - 
    profile:     name.*
    object type: namelist
    entity:      user2
    type:        principal
    authority:   get
    - - - - - - - - - - - - - - - - - 
    profile:     pr1
    object type: process
    entity:      group1
    type:        group
    authority:   get
    
  5. 이 예는 큐 관리자 qmX의 모든 프로파일 이름 및 오브젝트 유형을 버립니다.
    dmpmqaut -m qmX -l
    
    버리기 결과는 다음과 같습니다.
    profile: q1, type: queue
    profile: q*, type: queue
    profile: name.*, type: namelist
    profile: pr1, type: process
    
주: IBM MQ for Windows 의 경우에만 표시되는 모든 프린시펄에 도메인 정보가 포함됩니다. 예를 들어, 다음과 같습니다.
profile:     a.b.*
object type: queue
entity:      user1@domain1
type:        principal
authority:   get, browse, put, inq