前のトピック: 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 ユーザがファイルにアクセスできないことを確認します(「permission denied」)。
    cat /testfile
    
  6. ユーザ testuser としてシステムにログインします。
    ssh localhost -l testuser
    
  7. testuser が予測どおりにファイルにアクセスできることを確認します。
    cat /testfile
    

CA ControlMinder インストールが完了しました。