POLKIT-CONFIG-FILE(1) polkit-config-file-validate POLKIT-CONFIG-FILE(1)NAME
polkit-config-file-validate - Validate a PolicyKit configuration file
SYNOPSIS
polkit-config-file-validate [/path/to/config/file] [--version] [--help]
DESCRIPTION
polkit-config-file-validate is used to verify that a given PolicyKit configuration file is valid. If no path to a config file is given, the
default /etc/PolicyKit/PolicyKit.conf file will be verified.
The typical role of this tool is to verify a configuration file before deploying it on one or more machines.
This program exit with exit code 0 if the configuration file is valid. If not, the program exits with a non-zero exit code.
OPTIONS --version
Show version and exit.
--help
Show usage information and exit.
BUGS
Please send bug reports to either the distribution or the hal mailing list, see http://lists.freedesktop.org/mailman/listinfo/hal. to
subscribe.
SEE ALSO PolicyKit(8), PolicyKit.conf(5), polkit-policy-file-validate(1)PolicyKit August 2007 POLKIT-CONFIG-FILE(1)
Check Out this Related Man Page
POLKIT-ACTION(1) polkit-action POLKIT-ACTION(1)NAME
polkit-action - List and modify registered PolicyKit actions
SYNOPSIS
polkit-action [--action action] [--reset-defaults action] [--show-overrides] [--set-defaults-any action value]
[--set-defaults-inactive action value] [--set-defaults-active action value] [--version] [--help]
DESCRIPTION
polkit-action is used to list and modify the PolicyKit actions that are registered on the system.
OPTIONS --action action
Show detailed information about a specific action.
--reset-defaults action
Reset the defaults for the specified action to the factory defaults. The authorization needed to do this is
org.freedesktop.policykit.modify-defaults.
--show-overrides
Prints all actions for where the defaults are overridden.
--set-defaults-any action value
Override the any stanza for the given action with the supplied value. The authorization needed to do this is
org.freedesktop.policykit.modify-defaults. Valid values for value are no, auth_admin_one_shot, auth_admin, auth_admin_keep_session,
auth_admin_keep_always, auth_self_one_shot, auth_self, auth_self_keep_session, auth_self_keep_always, and yes.
--set-defaults-inactive action value
Override the inactive stanza for the given action with the supplied value. The authorization needed to do this is
org.freedesktop.policykit.modify-defaults. Valid values for value are no, auth_admin_one_shot, auth_admin, auth_admin_keep_session,
auth_admin_keep_always, auth_self_one_shot, auth_self, auth_self_keep_session, auth_self_keep_always, and yes.
--set-defaults-active action value
Override the active stanza for the given action with the supplied value. The authorization needed to do this is
org.freedesktop.policykit.modify-defaults. Valid values for value are no, auth_admin_one_shot, auth_admin, auth_admin_keep_session,
auth_admin_keep_always, auth_self_one_shot, auth_self, auth_self_keep_session, auth_self_keep_always, and yes.
--version
Show version and exit.
--help
Show usage information and exit.
COMPLETION
PolicyKit ships with a collection of shell functions such that completion on options, action and value works when using the bash(1) shell.
BUGS
Please send bug reports to either the distribution or the hal mailing list, see http://lists.freedesktop.org/mailman/listinfo/hal. to
subscribe.
SEE ALSO PolicyKit(8), PolicyKit.conf(5), polkit-auth(1)PolicyKit August 2007 POLKIT-ACTION(1)
Hi
Iam new to this forum,
could you pleae advise for below question
iam send path as input before proceding i need to validate the path if it is exit or not if not it show path id not exist
if the path is exits iam sending file name as input to search the file on the paricular... (5 Replies)
Having some problems figuring out how to do this. I have a file that has a template config for my network routers and in this config is a list of my access lists. I need help finding a way to verify if a single ip or a range along with the port allowed is in the list. My biggest issue is the range... (1 Reply)
Hi All,
I am trying to validate the file name against the naming convention mentioned in configuration file. In the configuration file, the file name convention is mentioned as:
Myfile_SQ<NN>_<NN>_YYYYMMDD_HHMMSS.xml
The actual file received is Myfile_SQ10_30_20110423_073002.xml
How do... (1 Reply)
Hi,
I am wirting a script to check the informatica services are running.
I am executing a CONFIG FILE before starting the check..
This config file will be having all the ENV Variables..that will be used in the script.
I wanted to first check if the Config file has be executed.
If its... (4 Replies)