1. Change ownership of application and data directory to custom_user and custom_group,
Note : make sure artifactory is not running.
chown -R custom_user:custom_group /opt/jfrog/artifactory chown -R custom_user:custom_group /var/opt/jfrog/artifactory
2. Edit /opt/jfrog/artifactory/var/etc/system.yaml with custom_user and custom_group details under shared:
shared: user: custom_user group: custom_group
3. Start artifactory
systemctl start artifactory.service