chkstat man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

CHKSTAT(8)	    Tool to check and set file permissions	    CHKSTAT(8)

NAME
       chkstat - Tool to check and set file permissions

SYNOPSIS
       chkstat [OPTIONS] <permission-files...>

       chkstat --system [OPTIONS] <files...>

DESCRIPTION
       The  program  /usr/bin/chkstat  is a tool to check and set file permis‐
       sions.

       chkstat can either operate in system mode or on individually  specified
       permission  files.  In system mode /etc/permissions/security determines
       which level to use and whether to actually apply permission changes.

   OPTIONS
       --system
	      Run in system mode. Parses /etc/sysconfig/security to  determine
	      which security level to use (PERMISSION_SECURITY) and whether to
	      set or merely warn about permission changes (CHECK_PERMISSIONS).
	      In  system  mode non-option arguments refer to files. Ie just as
	      if the --examine option was specified for them.

       --set  Actually apply the file permissions. The default is to check and
	      warn  only  unless in system mode where CHECK_PERMISSIONS speci‐
	      fies the default behavior.

       --warn Opposite of --set, ie warn only but don't make actual changes

       --noheader
	      Omit printing the output header lines.

       --fscaps, --no-fscaps
	      Enable or disable use of fscaps. In system mode the  setting  of
	      PERMISSIONS_FSCAPS  determines whether fscaps are on or off when
	      this option is not set.

       --examine file
	      Check permissions for this file instead of all files  listed  in
	      the permissions files.

       --files filelist
	      Check  permissions  for the files listed in filelist and instead
	      of all files listed in the permissions files.

       --root directory
	      Check files relative to the specified directory.

EXAMPLES
       chkstat --set /etc/permissions /etc/permissions.secure

       parses the files /etc/permissions and  /etc/permissions	and  sets  the
       access mode and the user- and group memberships for each file listed.

       chkstat --system /bin/ping

       Run in system mode and only correct permissions of /bin/ping

SEE ALSO
       permissions(5)

COPYRIGHT
       1996-2003 SuSE Linux AG, Nuernberg, Germany.

       2008-2010 SUSE LINUX Products GmbH

AUTHORS
       Reinhold Sojer, Ruediger Oertel, Michael Schroeder, Ludwig Nussel

       Useful changes and additions by Tobias Burnus

3rd Berkeley Distribution	  2010-11-09			    CHKSTAT(8)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net