이전 항목: CA ControlMinder .deb 패키지 제거다음 항목: 일반 스크립트 설치


Linux 또는 Unix에서 CA ControlMinder 설치 확인

(선택 사항) 기본 CA ControlMinder 기능이 동작하는지 확인함으로써 설치가 제대로 완료되었는지 파악할 수 있습니다. 설치 로그는 설치 디렉터리에 있습니다(AccessControl/AccessControl_install.log).

다음 단계를 수행하십시오.

  1. root 사용자로 로그온합니다.
  2. 테스트 파일을 만들고 모두에게 읽기 권한을 부여합니다.
    echo “##  This is my test file ##” > /tempfile
    chmod 666 /tempfile
    
  3. CA ControlMinder bin 디렉터리로 변경합니다. 아직 실행 중이지 않은 경우 CA ControlMinder를 로드합니다.
    cd /opt/CA/AccessControl_128SP0_211/bin/
    ./seload
    
  4. selang을 실행하고, testuser를 만들고, 테스트 파일에 액세스하기 위한 배타적 권한을 부여합니다.
    ./selang
    AC> eu testuser password(1)
    AC> ef /testfile owner(nobody)
    AC> auth FILE /testfile uid(testuser) acc(A)
    AC> exit
    
  5. root 사용자가 파일에 액세스할 수 없는지 확인합니다("권한 거부됨").
    cat /testfile
    
  6. 사용자 testuser로 시스템에 로그인합니다.
    ssh localhost -l testuser
    
  7. testuser가 예상대로 파일에 액세스할 수 있는지 확인합니다.
    cat /testfile
    

CA ControlMinder 설치가 완료되었습니다.