Tchater maintenant avec le support
Tchattez avec un ingénieur du support

Privilege Manager for Unix 7.2.1 - Administration Guide

Introducing Privilege Manager for Unix Planning Deployment Installation and Configuration Upgrade Privilege Manager for Unix System Administration Managing Security Policy The Privilege Manager for Unix Security Policy Advanced Privilege Manager for Unix Configuration Administering Log and Keystroke Files InTrust Plug-in for Privilege Manager for Unix Troubleshooting Privilege Manager for Unix Policy File Components Privilege Manager for Unix Variables
Variable names Variable scope Global input variables Global output variables Global event log variables PM settings variables
Privilege Manager for Unix Flow Control Statements Privilege Manager for Unix Built-in Functions and Procedures
Environment functions Hash table functions Input and output functions LDAP functions LDAP API example List functions Miscellaneous functions Password functions Remote access functions String functions User information functions Authentication Services functions
Privilege Manager for Unix programs Installation Packages

pmgit Disable

This subcommand disables Git policy management. Policies can be managed on the policy servers with the pmpolicy command.

--restore

Alias

-r

Type:

string

Values:

<name-of-backup-file>

Default:

N/A

Description: When Git policy management is disabled, the SVN policy repository is restored from a previously created backup file.

Syntax

--restore <name-of-backup-file>
Examples

In this example, the Git policy management is disabled, and the repository is restored from a previously created backup file.

pmgit disable
pmgit disable --restore sudoers_policy_202101011000.tar

pmgit Update

This subcommand fetches the remote Git repository and commits the changes to the SVN policy repository.

Examples

In this example, the SVN policy repository is updated with the changes from the Git policy repository.

pmgit update

pmgit Set

This subcommand sets or updates setting in the pm.settings file.

--git-url

Alias

-g

Type

string

Value

<git-policy-repository-url>

Default

N/A

Description: Sets the URL of the Git policy repository. This argument can be set when the Git policy management is disabled.

Syntax

--git-url <git-policy-repository-url>
--branch

Alias

-b

Type:

string

Values:

<branch-of-policy-files>

Default:

master

Description: Sets the Git branch where the policy files are stored.

Syntax

--branch <branch-of-policy-files>
--update-interval

Alias

-u

Type:

integer

Values:

0-60 (minutes)

Default:

5 (minutes)

Description: Sets the synchronization interval between Git and SVN. This value must be in the [0-60] minutes interval. If this argument is set to 0, periodic updates will be turned off.

Syntax

--update-interval <[0-60]>
--alert-script

Alias

-a

Type:

string

Values:

<path-to-script>

Default:

N/A

Description: Sets the path to a user-defined script which is run when the synchronization from Git to SVN fails due to syntax errors.

Syntax

--alert-script <path-to-script>
Examples

In this example, the name of the branch is set to production and the path to the alert script is set to /path/to/script.

pmgit set -b production -a /path/to/script

pmgit Status

This subcommand displays information about the policy management settings.

Examples

This example shows how to display the current status of the Git policy management settings.

pmgit status
Documents connexes

The document was helpful.

Sélectionner une évaluation

I easily found the information I needed.

Sélectionner une évaluation