Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Change bamboo agent username

I have a trouble in changing the Bamboo agent username. Could anyone help with this. 

2 answers

1 accepted

0 votes
Answer accepted

ba.PNGThe agent that is working as of now looks like this and in wrapper.conf I have changed the directory structure in -Dbamboo.home=/data/atlassian1/bamboo-agent-home

and also in bamboo-agent.cfg for build working directory pointing to above one, these both look good when I deploy it is working as expected.  But when I see the buildkey for checkout directory the owner and group both are root. As, my other agent checkout does with wasadmin. It should be same for this also. I checked out for new agent which shows the username as root.  Looks to me, if the username is changed, then this will checkout with wasadmin.b.PNG

May I know under which user have you installed the bamboo remote agent? 

I deleted and re-installed it, now the username is wasadmin. Thanks all. 

0 votes

Hello Surya, 

 

Could you clarify the your question? 

Do you want to change the username for run bamboo wrapper? 

If it is,  

1. let's check this thread for systemd

https://community.atlassian.com/t5/Bamboo-questions/How-to-I-install-bamboo-agent-as-a-daemon-under-Linux/qaq-p/393880

2. for init.d let's check the script in /etc/init.d/bamboo-agent

3. reg. for windows service. let's check in service run as.

 

Thanks

 

Cheers,

Gonchik Tsymzhitov

Hi Gonchik,

I have installed a remote agent, in which the username shows 'root'. I need to change the username (user home should be /home/wasadmin) and current running directory also. 

Current running directory: /data/atlassian1/bamboo-agent-home/bin

user home: /home/wasadmin

It should look like this. Please help

Bamboo path.PNG

rsperafico Atlassian Team Jan 09, 2018

Hello @Surya_Banka,

You should:

  • stop the agent
  • copy /data/atlassian1/bamboo-agent-home to /home/wasadmin
  • change permissions over /home/wasadmin and whatever directory and file within /home/wasadmin
  • start agent as wasadmin and not as root

Kind regards,

Rafael

Well, 

you forgot the parameter

-Dbamboo.home

https://confluence.atlassian.com/bamboo/bamboo-remote-agent-installation-guide-289276832.html

 

I see 2 way for fix it. 

  • First one is unix way, like symlink. Just set agent home directory symlink to the correct place. 
ln -s /home/wasadmin /data/atlassian1/bamboo-agent-home

then chown the directory and change in init scripts.

 

  • second one is reinstall remote agent with home parameter.

 

Hope it helps

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

227 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you