You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I have a trouble in changing the Bamboo agent username. Could anyone help with this.
The 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.
May I know under which user have you installed the bamboo remote agent?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Surya_Banka,
You should:
Kind regards,
Rafael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
ln -s /home/wasadmin /data/atlassian1/bamboo-agent-home
then chown the directory and change in init scripts.
Hope it helps
Cheers,
Gonchik Tsymzhitov
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.