You can configure Privilege Manager for Unix to use Kerberos encryption to authenticate and to exchange encryption key information
To configure Privilege Manager for Unix to use Kerberos encryption, edit or insert the following line in the /etc/opt/quest/qpm4u/pm.settings file:
kerberos yes
Also, to use Kerberos with Privilege Manager for Unix, ensure that suitable Service Principal Names (SPNs) are registered. Using the generic host service-type, configure the SPNs like this:
host/sun17.quest.com
Substitute your own host names.
If the SPN has been registered using the fully qualified DNS name, you can abbreviate the SPNs to the service-type, such as:
host
Specify the service principal names using the mprincipal and lprincipal settings in the pm.settings file. For example, on an agent with a host name of sun17.quest.com, and a SPN registered as db_serve1.quest.com, specify:
mprincipal host lprincipal host/db_server1.quest.com
You may need to modify these other settings according to your Kerberos configuration:
Kerberos Setting | Description |
---|---|
keytab |
Location of the keytab file. Default: /etc/opt/quest/vas/host.keytab |
krb5rchache |
Location of the Kerberos cache. Default: /var/tmp |
Location of the Kerberos configuration file. Default: /etc/opt/quest/vas/vas.conf |
See PM settings variables for more information about modifying the Privilege Manager for Unix configuration settings.
You can enable configurable certification for use with Privilege Manager for Unix. Configurable certification is a method of proprietary certification based on the system hardware ID, MD5 checksums and DES encryption.
Use the pmkey command to generate and install certificates. For example, to generate a new certificate and put it into the specified file, enter:
# pmkey -a <filename>
To install the newly generated certificate from the specified file, enter:
# pmkey -i <filename>
To enable configurable certification
certificates YES
# pmkey –a <policy server filename>
When prompted, enter a phrase or keyword.
# pmkey -i <policy server filename>
You must enter the same filename in both the -a and -i commands shown above.
# pmkey –a <client filename>
When prompted, enter a phrase or keyword. Note: you must use the same phrase or keyword to generate the client and policy server certificates.
# pmkey -i <client filename>
You must enter the same filename in both the -a and -i commands shown above.
The keys are located in /etc/opt/quest/qpm4u/.qpm4u/.keyfiles/<key filename>.
# pmkey -i <client filename>
# pmkey -i <policy server filename>
Configurable certification is now enabled.
By default, pmkey certifies the pass phrase when installing the keyfile for other hosts. If you do not want pmkey to certify the pass phrase when installing the keyfile for other hosts, use -f in the pmkey -i command, like this:
# pmkey -i <keyfile> -f
Alerts enable you to specify commands that raise an alert if entered by a user, and the action you want Privilege Manager for Unix to take.
Use the alertkeyaction variable to specify the action Privilege Manager for Unix is to take when an alert is raised. The default action logs the alert and allows the command to continue.
Enter alertkeysequence in the policy as a list of regular expressions, like this:
alertkeysequence={"^rm.*", "/rm.*", ".*xterm"};
Other valid alert actions are:
For example:
if (user=="root") { alertkeyaction="ignore"; } else if (user=="john") { alertkeyaction="alert"; } else if (user=="dave") { alertkeyaction="trace"; } else { alertkeyaction="reject"; }
If an event raises an alert, Privilege Manager for Unix logs an AlertRaised event log. The alertkeyaction variable is also included in the log as part of the event.
If the alertkeyaction variable is set to reject, Privilege Manager for Unix cancels the command, terminates the user’s session, and displays a rejection message.
If the alertkeyaction variable is not set to reject, Privilege Manager for Unix allows the command to run and logs it in the event log. The example shown above shows how you can enter different strings for different users. This enables you to use the alertkeyaction variable as a filter to search the event log for these events.
alertkeyaction logging is enabled even if iologging is disabled. If iologging is disabled, a new session is started with pmmasterd for each alertraised event.
By default, alertraised events are not displayed in pmlog. To view the alertraised event, use the -l parameter or the -d parameter. For example:
# pmlog -l
Alert events have the same unique ID as the Privilege Manager for Unix session from which they were generated. This enables you to identify alert events raised during a specific session.
Use pmcheck to check a given string against any expression defined in the alertkeypatterns list:
# pmcheck -a"<string>"<command>
For example,
# pmcheck -a "rm /etc/opt/quest/qpm4u/pm.settings" ksh
© 2024 One Identity LLC. ALL RIGHTS RESERVED. Conditions d’utilisation Confidentialité Cookie Preference Center