Interesting! I did not know that the password was logged. I thought it was a one time thing to show the password in the UI.
On Mon, Nov 27, 2017 at 1:43 PM, Nux! <n...@li.nux.ro> wrote: > Ok, so found out some more stuff. > > First of all, the password appears in management-server.log and > apilog.log, so that's one place to grep into. > > Second, I could query the jobid and get the password from there. E.g. from > cloudmonkey > query asyncjobresult jobid=caac0e1f-0aff-4065-8189-1d32d480e73f | grep > password\ = > > More info here > https://cwiki.apache.org/confluence/display/CLOUDSTACK/ > CloudStack+cloudmonkey+CLI#CloudStackcloudmonkeyCLI-AsyncJobexecution > > -- > Sent from the Delta quadrant using Borg technology! > > Nux! > www.nux.ro > > ----- Original Message ----- > > From: "Rafael Weingärtner" <rafaelweingart...@gmail.com> > > To: "users" <users@cloudstack.apache.org> > > Sent: Monday, 27 November, 2017 15:21:30 > > Subject: Re: Where is the vm root password published? > > > Ah, if that is the case, I know it is stored in the VR of the network > where > > the VM is connected to. > > > > I forgot now the file, but it is something like “/var/usr?/cloud/cache” > or > > something that ends in “/cache/cloud”. > > > > > > Do we store these password in ACS database as well? > > > > On Mon, Nov 27, 2017 at 1:18 PM, Nux! <n...@li.nux.ro> wrote: > > > >> Rafael, > >> > >> Yes indeed, sorry if I wasn't clear. > >> > >> -- > >> Sent from the Delta quadrant using Borg technology! > >> > >> Nux! > >> www.nux.ro > >> > >> ----- Original Message ----- > >> > From: "Rafael Weingärtner" <rafaelweingart...@gmail.com> > >> > To: "users" <users@cloudstack.apache.org> > >> > Sent: Monday, 27 November, 2017 14:58:20 > >> > Subject: Re: Where is the vm root password published? > >> > >> > Are you talking about the generated passwords to be injected in user > vms? > >> > Besides that, we do not have any other password. At least that I know. > >> > > >> > On Mon, Nov 27, 2017 at 12:56 PM, Nux! <n...@li.nux.ro> wrote: > >> > > >> >> No, I mean the regular user VM instances. > >> >> I know they are held somewhere temporarily, just don't know where. :) > >> >> > >> >> -- > >> >> Sent from the Delta quadrant using Borg technology! > >> >> > >> >> Nux! > >> >> www.nux.ro > >> >> > >> >> ----- Original Message ----- > >> >> > From: "Rafael Weingärtner" <rafaelweingart...@gmail.com> > >> >> > To: "users" <users@cloudstack.apache.org> > >> >> > Sent: Monday, 27 November, 2017 12:26:59 > >> >> > Subject: Re: Where is the vm root password published? > >> >> > >> >> > If you are talking about the system VMs password. > >> >> > If you set the parameter "system.vm.random.password" to "true", > then > >> you > >> >> > can see the password at "system.vm.password" > >> >> > > >> >> > On Mon, Nov 27, 2017 at 10:24 AM, Nux! <n...@li.nux.ro> wrote: > >> >> > > >> >> >> Hello, > >> >> >> > >> >> >> I know that the vm root password is temporarily stored somewhere > in > >> the > >> >> >> system. I need to find it out for accessing the console of some > >> >> instances > >> >> >> created programmatically. > >> >> >> Where do I look? > >> >> >> > >> >> >> Cheers, > >> >> >> Lucian > >> >> >> > >> >> >> -- > >> >> >> Sent from the Delta quadrant using Borg technology! > >> >> >> > >> >> >> Nux! > >> >> >> www.nux.ro > >> >> >> > >> >> > > >> >> > > >> >> > > >> >> > -- > >> >> > Rafael Weingärtner > >> >> > >> > > >> > > >> > > >> > -- > >> > Rafael Weingärtner > >> > > > > > > > > -- > > Rafael Weingärtner > -- Rafael Weingärtner