Copy files

Use this group policy to automatically copy a set of one or more files from the domain controller to each Linux, UNIX, and Mac OS X computer that joins the domain.

Note:   For the Origin domain in the Source file, you can only list out trusted domains in the current forest.

To enable and configure Copy files:

  1. Create the files to copy in either of two locations:
    • sysvol on the domain controller.
    • A shared folder

      The sysvol location is assumed to be: \\domainController\sysvol\domainName\gpdata

      If the gpdata directory does not exist, create it first. Files to copy can be text or binary.

  2. Select the Group Policy Object and click Edit to open the Group Policy Object Editor.

  3. Select Computer Configuration > Centrify Settings > Common Unix Settings, then double-click Copy files.

  4. In Copy file policy setting, select Enabled.

  5. Click Add, then provide the following information:

    • Select a trusted domain or type a server name. For example, select acme.com or type a name admin1.acme.com.

    • Type the name of a file to copy or click Browse to browse to a directory and select a file. You can only add one file name at a time. To add multiple files, you must click Add for each one.

    • Type the name of a directory on the Centrify-managed computer, such as, /etc.

    • Select Use destination file ownership and permissions to apply permissions to the file based on the directory to which it is copied or select Specify permissions and ownership to manually apply permissions. When you select this button, you must enter permission data in the next three fields.

    • Enter file permissions using octal notation. Use man chmod for information.

    • Enter the UID for the file owner or click Browse to browse Active Directory for a user. The UID of the user you select is entered in this field.

    • Enter the GID for the user’s group, or click Browse to browse Active Directory for a group. The GID of the group you select is entered in this field.

    • Select Copy as binary file to copy the file as binary. By default, files are copied as text files.

  6. Click OK to add the specified file to the list.

  7. Click Add to add another file to be copied.

  8. When you are finished adding files, click OK to apply the policy with the files you have selected.

  9. At any time, to remove a file, select it and click Remove. You may also select a file and click Edit to make changes to the information for the file, such as where to copy it or file permissions.

Note:   If you change the policy from enabled to not configured, all files are removed from the list. However, files are not removed if you change from enabled to disabled.