ccs-setprofile(8)

ccs-setprofile8

Assign tomoyo linux's profile to domains

Usage

ccs-setprofile [-r] profile_index domainname [domainname ...]

Overview

This program assigns TOMOYO Linux's profile to domains.

-r

Apply specified profile to all domains whose domainname starts with domainname given at command line.

profile_index

Profile index to assign. Profile index is an integer between 0 and 255.

You can see list of profiles currently assigned via /proc/ccs/.domain_status .

Examples

# ccs-setprofile -r 0 '<kernel>'

Assign profile 0 to all domains.

# ccs-setprofile 1 '<kernel> /usr/sbin/sshd' '<kernel> /usr/sbin/httpd'

Assign profile 1 to sshd and httpd domains.

Notes

You need to register either path to this program ( /usr/sbin/ccs-setprofile ) or a domain for this program in /proc/ccs/manager before invoking this program.

Be sure to quote or escape appropriately when specifying domainnames.

Releases

2 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0
  2. 6.0

Authors

penguin-kernel _at_ I-love.SAKURA.ne.jp

From tomoyo-ccstools1.7 1.7.2-20100401-3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.