7.12. sync

7.12.1. sync config

rocks sync config

For each system configuration file controlled by Rocks, first rebuild the configuration file by extracting data from the database, then restart the relevant services.

examples

# rocks sync config

Rebuild all configuration files and restart relevant services.

7.12.2. sync dns

rocks sync dns

Rebuild the DNS configuration files, then restart named.

examples

# rocks sync dns

Rebuild the DNS configuration files, then restart named.

7.12.3. sync users

rocks sync users

Update all user-related files (e.g., /etc/passwd, /etc/shadow, etc.) on all known hosts. Also, restart autofs on all known hosts.

examples

# rocks sync users

Send all user info to all known hosts.