Poster of Linux kernelThe best gift for a Linux geek
TOMOYO-SETPROFILE

TOMOYO-SETPROFILE

Section: System Administration Utilities (8) Updated: April 2011
Local index Up
 

NAME

tomoyo-setprofile - Assign TOMOYO Linux's profile to domains  

SYNOPSIS

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

DESCRIPTION

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 /sys/kernel/security/tomoyo/.domain_status .  

EXAMPLES

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

Assign profile 0 to all domains.

# tomoyo-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/tomoyo-setprofile ) or a domain for this program in /sys/kernel/security/tomoyo/manager before invoking this program.


 Be sure to quote or escape appropriately when specifying domainnames.  

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


 tomoyo-tomoyotree (8)


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
NOTES
AUTHORS
COPYRIGHT
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 22:02:31 GMT, April 16, 2011