Add 'README.craete-admin-account' and 'README.reset-admin-passwort'.

This commit is contained in:
Christoph 2024-12-16 00:54:56 +01:00
parent d4762888e5
commit 56deaa3a4d
2 changed files with 90 additions and 0 deletions

View File

@ -0,0 +1,47 @@
# ----
# Creating a new account with admin privileges
# ---
#see also
# https://meta.discourse.org/t/create-an-admin-account-from-the-console/17274
# Accessing the console
#
# Connect to your Discourse server using SSH,
#
ssh dc-opp.oopen.de
# Become root
#
sudo -i
# Switch to your Discourse directory:
#
cd /var/discourse
# Enter the Docker container:
#
./launcher enter app
# Creating a new account with admin privileges
#
# Inside the console, run the following command:
#
rake admin:create
# You will be prompted for:
#
# Email
# Password
# Confirm Password
#
#A new account will be created with a username based on the email address. When asked
#if you want to grant admin privileges, press Enter to confirm.
#
#If successful, you#ll see: "Your account now has Admin privileges!"

View File

@ -0,0 +1,43 @@
# ----
# Creating a new account with admin privileges
# ---
#see also
# https://meta.discourse.org/t/create-an-admin-account-from-the-console/17274
# Accessing the console
#
# Connect to your Discourse server using SSH,
#
ssh dc-opp.oopen.de
# Become root
#
sudo -i
# Switch to your Discourse directory:
#
cd /var/discourse
# Enter the Docker container:
#
./launcher enter app
# Creating a new account with admin privileges
#
# Inside the console, run the following command:
#
rake admin:create
# Enter the email of the existing account. If the user exists, you will be asked
# if you want to reset the password. Press Enter to proceed. Provide and confirm
# the new password.
#
#If it worked, you'll see 'Account updated successfully!.'