...
The migration process involves transferring ownership of the Zephyr installation, Zephyr attachment files, and Zephyr managed services to the designated non-root user. Additionally, this topic outlines the creation of a non-root user if one does not already exist.
Prerequisites for Migration
Before proceeding with the migration, ensure that the following prerequisites are met:
...
Info |
---|
We are using zephyr as a non-root user as an example. This user will not be created as part of Zephyr. You need to create the user separately. |
Migration Steps
Following are the steps to migrate a Zephyr instance from root user to non-root user:
...
Code Block |
---|
sudo chown -R zephyr /opt/zephyr |
b. Migrating Zephyr attachment files
Info |
---|
If ZEPHYR_DATA or NODE_DATA folders are components of ZEPHYR_HOME, then you can skip those relevant commands. |
...
Code Block |
---|
sudo chown -R zephyr /opt/nodedata |
c. Migrating Zephyr Services
Run the following command to change the ownership of the symlink of ZephyrService.sh:
...