Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 08-28-2017 11:17 AM
Created 08-28-2017 11:22 AM
You will need to run the "ambari-server setup" command again and then you need to choose the "Customize user account for ambari-server daemon" prompt, to proceed as root. If you want to create a different user to run the Ambari Server, or to assign a previously created user, select y at the Customize user account for ambari-server daemon prompt, then provide a user name.
Example:
# sudo ambari-server setup . Customize user account for ambari-server daemon [y/n] (n)? y Enter user account for ambari-server daemon (root): ambari .
.
If you are using views then you will need to also change the proxy user setting to the new user name:
.
Also if there are some directories that has the root:root permissions then you will need to change them accordingly.
Example:
# ls -l /var/run/ambari-server sudo chown -R ambari root /var/run/ambari-server # ls -l /var/run/ambari-agent sudo chown -R ambari root /var/run/ambari-agent
.
Created 08-28-2017 11:22 AM
You will need to run the "ambari-server setup" command again and then you need to choose the "Customize user account for ambari-server daemon" prompt, to proceed as root. If you want to create a different user to run the Ambari Server, or to assign a previously created user, select y at the Customize user account for ambari-server daemon prompt, then provide a user name.
Example:
# sudo ambari-server setup . Customize user account for ambari-server daemon [y/n] (n)? y Enter user account for ambari-server daemon (root): ambari .
.
If you are using views then you will need to also change the proxy user setting to the new user name:
.
Also if there are some directories that has the root:root permissions then you will need to change them accordingly.
Example:
# ls -l /var/run/ambari-server sudo chown -R ambari root /var/run/ambari-server # ls -l /var/run/ambari-agent sudo chown -R ambari root /var/run/ambari-agent
.
Created 08-28-2017 03:39 PM
Thanks for the reply, But I want to change ssh session. I am configured ssh with root account but now i have to change to Centos account. It's possible to change or not?
Created 08-28-2017 11:27 AM
Here is a smooth method of giving Centos 7 user root privileges link
Created 08-28-2017 03:39 PM
Thanks for the reply, But I want to change ssh session. I am configured ssh with root account but now i have to change to Centos account. It's possible to change or not?