The Refresh Scripts policy manages the script that is run each time policy is applied on the UNIX host.
The Refresh Scripts policy manages the script that is run each time policy is applied on the UNIX host.
This section describes how to configure a refresh script.
To configure a refresh script
Start Group Policy Editor.
Expand the UNIX Setting > Scripts node.
Double click Refresh Scripts.
The Refresh Script Properties dialog opens.
Click Add.
The New Script dialog opens.
NOTE: Typically, you write and test the script on the target platform.
Click Import.
A file browse dialog appears.
Select the script file and click Open.
The script you choose automatically displays in the Name field.
NOTE: If you do not have a script to import, add a name for the script, select it on the property page and click Edit Script. Group Policy opens a text editor to allow you to create it "on the fly".
In the Parameters field, enter any parameters to pass to the script on the command line.
Select Options:
Run As User: Select this check box and enter a user name to force the script to run as a specific user on the UNIX host.
Run once: Select this check box to prohibit the script from running more than one time on the UNIX host.
Click Add.
The new script displays in the list of configured scripts for this policy.
Select the script in the list.
The Script Preview pane displays the read-only contents of the script.
Click Edit Script to edit the contents of configured scripts.
Your text editor launches with the contents of the script so that you can edit and save the script.
Close the text editor and save the contents.
The Script Preview pane displays the updated script contents.
The Startup Scripts policy manages the scripts that run each time the UNIX agent starts up.
This section describes how to configure startup scripts.
To configure a startup script
Start Group Policy Editor.
Expand the UNIX Setting > Scriptsnode.
Double click Startup Scripts.
The Startup Script Properties dialog opens.
Click Add.
The New Script dialog opens.
NOTE: Typically, you write and test the script on the target platform.
Click Import.
A file browse dialog appears.
Select the script file and click Open.
The script you choose automatically displays in the Name field.
NOTE: If you do not have a script to import, add a name for the script, select it on the property page and click Edit Script. Group Policy allows you to create it "on the fly".
In the Parameters field, enter any parameters to pass to the script on the command line.
Select Options:
Run As User: Select this check box and enter a user name to force the script to run as a specific user on the UNIX host.
Run once: Select this check box to prohibit the script from running more than one time on the UNIX host.
Click Add.
The new script displays in the list of configured scripts for this policy.
Select the script in the list.
The Script Preview pane displays the read-only contents of the script.
Click Edit Script to edit the contents of configured scripts.
Your text editor launches with the contents of the script so that you can edit and save the script.
Close the text editor and save the contents.
The Script Preview pane displays the updated script contents.
© 2024 One Identity LLC. ALL RIGHTS RESERVED. 利用規約 プライバシー Cookie Preference Center