CHKCON(8) SELinux Command Line documentation CHKCON(8)NAME
chkcon - determine if a security context is valid for a given binary policy
SYNOPSIS
chkcon policy_file context
DESCRIPTION
This utility validates (the string representation of) a security context specified by the argument context against configuration data read
in from a policy database binary representation file specified by the argument policy_file.
FILES
policy file
AUTHOR
This manual page (and just the manual page) was written by Manoj Srivastava <srivasta@debian.org>.
SELinux Mar 12 2005 CHKCON(8)
Check Out this Related Man Page
matchpathcon(8) SELinux Command Line documentation matchpathcon(8)NAME
matchpathcon - get the default SELinux security context for the specified path from the file contexts configuration.
SYNOPSIS
matchpathcon [-V] [-N] [-n] [-f file_contexts_file ] [-p prefix ] filepath...
DESCRIPTION
matchpathcon queries the system policy and outputs the default security context associated with the filepath.
Note: Identical paths can have different security contexts, depending on the file type. (regular file, directory, link file, char file ...)
matchpathcon will also take the file type into consideration in determining the default security context if the file exists. If the file
does not exist, no file type matching will occur.
OPTIONS -n Do not display path.
-N Do not use translations.
-f file_context_file Use alternate file_context file
-p prefix Use prefix to speed translations
-V Verify file context on disk matches defaults
AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
SEE ALSO selinux(8), matchpathcon(3),
dwalsh@redhat.com 21 April 2005 matchpathcon(8)
Hi there everyone,
I'm using redhat 7.3 at the moment and am currently trying to install chkconfig-1.3.5-3.i386.rpm , but when I type this command:
rpm -Uvh chkconfig-1.3.5-3.i386.rpm
I get the following error:
error: failed dependencies:
chkconfig = 1.2.24 is needed by... (3 Replies)
I want to use chkconfig utility to simplify service management on Solaris 10. However, I couldn't find this utility. I tried " man chkconfig", the system return as " No manual entry for chkconfig". So what does this mean and how to find this utility on solaris 10? Thanks for your help. Happy New... (8 Replies)
I've successfully installed syslog-ng and chkconfig using the packages from the OpenCSW project, these packages install under /opt/csw. I now need to disable the default syslog daemon and enable the new service created by the OpenCSW package (/etc/init.d/cswsyslog_ng).
Is there any good way to... (3 Replies)
I'm just trying to disable some of un used services. when i try that I'm getting following error. This is just for one "gpm" service
failed to make symlink /etc/rc3.d/K15gpm: Read-only file system
failed to make symlink /etc/rc4.d/K15gpm: Read-only file system
failed to make symlink... (1 Reply)
Hi
I have been told to migrate linux init scripts to solaris 10. i am reading about the chkconfig & SMF ( I came to know that SMF is used in Sol 10 for service management ). The only thing i could not find out ( Because i dont have root access ) is how the links are created in rcX.d directory? ... (6 Replies)
How do i disable kudzu without using chkconfig?
/sbin/chkconfig --level 3 kudzu off
Is there any other way of doing it .
for example by modifying parameter of any file.
Basically i want kudzu to be disabled during the first run of the machine after installation.
I have full access to the... (2 Replies)
Hi everybody;
I try to code a script perl to list all services that are active "ON" with a chkconfig -- list
the problem is that code list all services which are active or not.
#!/usr/bin/perl
use strict;
use warnings;
open(FILE,"-|") || exec "chkconfig --list |grep ON";... (2 Replies)
Hi guys
I am troubleshooting a script that informs me when a system has rebooted.
The script is placed in /etc/rc3.d folder under root.
The script is as follows:
. /opt/scripts/function.sh
PATH=/usr/bin
EMAIL_ADD=<email address> ... (2 Replies)
Hi,
I am trying to schedule a script that starts on reboot.I came across chkconfig utility to schedule scripts on reboot.
Problem here is can i how to use this chkconfig to schedule a script that runs a s normal user.
Or if there is any other function to schedule on reboot as normal user... (4 Replies)