---
name: "ccs-init"
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-init"
---

# ccs-init(8)

Load TOMOYO Linux's policy automatically

## NAME

ccs-init - Load TOMOYO Linux's policy automatically

## SYNOPSIS

**ccs-init**

## DESCRIPTION

This program is automatically called to load policy from files into kernel when /sbin/init starts.

This program copies the following files.

-

  /etc/ccs/exception\_policy.conf =\> /proc/ccs/exception\_policy

-

  /etc/ccs/domain\_policy.conf =\> /proc/ccs/domain\_policy

-

  /etc/ccs/profile.conf =\> /proc/ccs/profile

-

  /etc/ccs/manager.conf =\> /proc/ccs/manager

-

  /etc/ccs/meminfo.conf =\> /proc/ccs/meminfo

If /etc/ccs/ccs-post-init is an executable file, /etc/ccs/ccs-post-init is also executed. You can use /etc/ccs/ccs-post-init for additional initialization purpose. For example, you can write

-

  \#! /bin/sh

-

  echo manage\_by\_non\_root \> /proc/ccs/manager

-

  chown **-R** demo /proc/ccs/

in the /etc/ccs/ccs-post-init and chown/chmod like

-

  chown **-R** demo /etc/ccs/

to allow policy management by user "demo" as well as user "root".

## EXAMPLES

None.

## NOTES

 If something went wrong, a prompt is shown so that the administrator can take action before the kernel gets panic.

 You don't need to invoke this program manually.

 To load policy after /sbin/init starts, use ccs-loadpolicy instead.

## AUTHORS

 penguin-kernel \_at\_ I-love.SAKURA.ne.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)
