Server IP : 52.91.253.208 / Your IP : 3.138.37.191 [ Web Server : Apache System : Linux ip-172-26-9-9 4.19.0-25-cloud-amd64 #1 SMP Debian 4.19.289-1 (2023-07-24) x86_64 User : daemon ( 1) PHP Version : 7.3.18 Disable Function : NONE Domains : 3 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /opt/bitnami/scripts/init/ |
Upload File : |
#!/bin/sh # # Create a separate file with credentials based on welcome message. # Copyright 2020 Bitnami.com All Rights Reserved # . /opt/bitnami/scripts/init/functions if [ "xbitnami" != "xroot" ] && [ -d "/home/bitnami" ]; then USERHOME="/home/bitnami" else USERHOME="/root" fi cp /dev/null $USERHOME/bitnami_credentials || exit 1 chown bitnami:bitnami $USERHOME/bitnami_credentials || exit 1 chmod 0400 $USERHOME/bitnami_credentials || exit 1 bitnami_credentials_header() { echo "Welcome to the Bitnami WordPress Stack" echo application_password=`get_applications_password` if [ "x$application_password" = "x" ] ; then application_password='bitnami' fi # If the application uses password and we have configured one if [ "xbitnami" != "x" -a "x$application_password" != "x" ]; then if [ "xuser" != "x" ] ; then echo "******************************************************************************" echo "The default username and password is 'user' and '$application_password'." echo "******************************************************************************" echo else echo "******************************************************************************" echo "The default password is '$application_password'." echo "******************************************************************************" echo fi echo "You can also use this password to access the databases and any other component the stack includes." echo fi echo "Please refer to https://docs.bitnami.com/ for more details." echo } run_once_globally_check "bitnami_credentials_template" if [ $? -eq 0 ]; then mkdir -p "$DATA_DIR/bitnami_credentials" && chmod 0755 "$DATA_DIR/bitnami_credentials" && rm -f "$DATA_DIR/bitnami_credentials/*" bitnami_credentials_header >$DATA_DIR/bitnami_credentials/credentials fi cat $DATA_DIR/bitnami_credentials/credentials > $USERHOME/bitnami_credentials