---
name: "ccs-editpolicy"
section: "8"
platform: "linux"
package: "tomoyo-ccstools1.7"
version: "1.7.2-20100401-3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/ccs-editpolicy"
---

# ccs-editpolicy(8)

Edit TOMOYO Linux's policy

## NAME

ccs-editpolicy - Edit TOMOYO Linux's policy

## SYNOPSIS

**ccs-editpolicy** \[*{e\|d\|p\|m\|u}*\] \[*readonly*\] \[*refresh=interval*\] \[*policy\_dir\|remote\_ip:remote\_port*\]

## DESCRIPTION

This program edits TOMOYO Linux's policy currently loaded in the kernel.

- e

  Set initial screen to exception policy editor.

- d

  Set initial screen to domain policy editor. This is default.

- p

  Set initial screen to profile editor.

- m

  Set initial screen to manager editor.

- u

  Set initial screen to memory usage.

- readonly

  Browse mode. No editing is allowed.

- refresh=interval

  Reload automatically for every interval seconds.

- policy\_dir

  Edit policy files stored in policy\_dir directory instead for policy currently loaded. Must starts with / .

- remote\_ip:remote\_port

  Edit policy via agent listening at specified IP address and port number.

## EXAMPLES

\# ccs-editpolicy

-

  Start policy editor with domain policy editor screen.

\# ccs-editpolicy /etc/ccs/192.168.1.1/

-

  Edit policy stored in /etc/ccs/192.168.1.1/ directory.

\# ccs-editpolicy 192.168.1.1:10000

-

  Edit policy via connecting to 192.168.1.1:10000 .

Usage with images are available at http://tomoyo.sourceforge.jp/1.7/tool-editpolicy.html

## NOTES

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

## AUTHORS

 penguin-kernel \_at\_ I-love.SAKURA.ne.jp

 Line coloring feature is made by Yoshihiro Kusuno \<yocto \_at\_ users.sourceforge.jp\>.

## COPYRIGHT

Copyright © 2005-2010 NTT DATA CORPORATION.

This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty.

## SEE ALSO

 ccs-loadpolicy (8)\
  ccs-editpolicy-agent (8)
