Hello! The debian and rpm installers will create <https://github.com/gocd/gocd/blob/4d6ff9461545511adb1c5682ed0b319dca2fd2bb/installers/linux/shared/before-install.sh.erb#L19-L20> a user called "go". If you really want to use a different user, there are two options:
1. The easy one: Use the zip package instead. The user you use to start the server is the user the server or agent will run as. 2. The not-so-easy one: If you really want to use the deb installer, you can change the ownership of all the files used by the server and/or agent to be your new user and change the script in /etc/init.d/go-server to change the user, etc. This is *not recommended* because it'll make upgrading very difficult. Hope that helps, Cheers, Aravind On Tue, Mar 14, 2017 at 7:11 PM, Rajendra Rawat <[email protected]> wrote: > in other words, what does below statement mean. > > The installer will create a user called go if one does not exist on the > machine. The home directory will be set to /var/go. If you want to create > your own go user, make sure you do it before you install the GoCD agent. > > Thanks & Regards > > Rajendra Rawat > > On Wed, Mar 8, 2017 at 6:52 PM, Rajendra Rawat <[email protected] > > wrote: > >> Hi Everyone. >> >> I need help on installation of go agent and go server. >> I want to use my own user instead of default go user, for installation. >> >> Is it possible ? if yes what is the process ... how to give my own user >> name ? >> >> Help would be greatly appreciated. >> >> Rajendra. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "go-cd" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
