Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

chkcon(8) [debian man page]

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)
Man Page

9 More Discussions You Might Find Interesting

1. Red Hat

attempting to install chkconfig 1.3.5

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)
Discussion started by: redhat_newb101
3 Replies

2. UNIX for Advanced & Expert Users

chkconfig utility in solaris 10

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)
Discussion started by: duke0001
8 Replies

3. Solaris

Solaris 8 how do I enable and disable services? (equivalent of chkconfig on Linux)

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)
Discussion started by: aussieos
3 Replies

4. Red Hat

chkconfig error

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)
Discussion started by: s_linux
1 Replies

5. Solaris

Chkconfig & SMF

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)
Discussion started by: zedex
6 Replies

6. UNIX for Dummies Questions & Answers

How do i disable kudzu without using chkconfig

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)
Discussion started by: pinga123
2 Replies

7. Shell Programming and Scripting

Perl script with "chkconfig --list" cmd

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)
Discussion started by: bassma
2 Replies

8. Shell Programming and Scripting

Reboot script issue

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)
Discussion started by: Junaid Subhani
2 Replies

9. Shell Programming and Scripting

Will Chkconfig works for normal user apart from root user

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)
Discussion started by: praveena kotapa
4 Replies