cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hean Seng <heans...@gmail.com>
Subject Re: Changing a host's password
Date Thu, 12 Nov 2020 02:57:49 GMT
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
>
> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message