Saturday, January 25, 2014

seinfo Command in Linux

seinfo Command Examples in Linux

Command: seinfo

Command Usage: seinfo allows the user to query the components of a SELinux policy

Syntax: # seinfo [OPTIONS] [EXPRESSION] [POLICY ...]

Example:

1. To get information about a selinux policy

    $ seinfo /etc/selinux/targeted/policy/policy.24

2. To print help info of this command

    $ seinfo -h

3. To  print  stats of a selinux policy

    $ seinfo --stats /etc/selinux/targeted/policy/policy.24

seinfo Command in Linux

No comments:

Post a Comment

Linux Tips and tricks,Online Linux Helpers