Hi Matthew,
Based on http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.8/management.html#changing-the-database-configuration,
seems like the database key is the content of the file /etc/cloudstack/management/key.
Thanks,
Pearl
________________________________
From: Hean Seng <heanseng@gmail.com>
Sent: Thursday, November 12, 2020 8:27 AM
To: users@cloudstack.apache.org <users@cloudstack.apache.org>
Subject: Re: Changing a host's password
Actually you can use Cloud-Init for password reset for newer OS , doesnt
not need this script
On Thu, Nov 12, 2020 at 6:39 AM Matthew Smart <msmart@smartsoftwareinc.com>
wrote:
> is the databasekey referring to the value "db.cloud.encrypt.secret"
> listed in /etc/cloudstack/management/db.properties?
>
> Matthew Smart
> President
> Smart Software Solutions Inc.
> 108 S Pierre St.
> Pierre, SD 57501
>
> Phone: (605) 280-0383
> Skype: msmart13
> Email: msmart@smartsoftwareinc.com
>
pearl.dsilva@shapeblue.comĀ
www.shapeblue.com
3 London Bridge Street, 3rd floor, News Building, London SE1 9SGUK
@shapeblue
> On 11/11/20 4:32 PM, Matthew Smart wrote:
> > This process seems straightforward to me but I want to make sure I
> > understand the parameters to pass into step 3 from the guide:
> >
> http://docs.cloudstack.apache.org/en/latest/adminguide/hosts.html#changing-host-password
> >
> >
> > Here is the command for encrypting the password in step 3:
> > java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.0.jar \
> > org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI \
> > encrypt.sh input="newrootpassword" \
> > password="databasekey" \
> > verbose=false
> >
> > The two parameters are input and password.
> > Is the input parameter where I put the new password and, if so, where
> > do I find the "databasekey" that is indicated to be the proper value
> > of the password parameter?
> > Or
> > Is the input parameter just an unused descriptive field that can
> > contain any value and the password parameter is where the new password
> > should go?
> >
> > I cannot seem to find a good description of how to use
> > JasyptPBEStringEncryptionCLI online anywhere.
> >
> > Thanks,
> >
>
>
--
Regards,
Hean Seng
|