Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I change the Controller owner?

In order to change the owner of the Controller, complete the following steps.

 

  1. Stop all running Controller services using the following command in the machine terminal.
    • ./controller.sh stop
  2. Change the username and user group of the Controller directory.
    • chown -R <New User>:<User Group> <Controller Folder>
  3. Update the new user in the db.cnf file located at Controller/db/db.cnf.
    •   user=<New User>
  4. Start the Controller.
    • ./controller.sh start

 

Version history
Revision #:
5 of 5
Last update:
‎09-14-2018 09:59 AM
Updated by:
 
Labels (1)


Found this article helpful? Click the Thumbs Up button.
Have a comment? Post it below.
Comments

Oops  you've accidently started your controller with root user instead of your app service user (ie appd, appdynamics, etc...) ?

 

1. First stop controller (as root) 

 

2. As root, change permissions back to original user and group

 

chown -R <original user>:<original group> <controller home>

 

Ie: chown -R appd:appd /opt/appdynamics/controller

 

3. Start controller with your original user.

 

That's it.

 

Thanks, 

--Eli