cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

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
Last update:
‎09-14-2018 09:59 AM
Updated by:
Labels (1)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
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

Good tip @Eli.Rodriguez  Thanks for contributing.