The following guide describes how to reset the password to the nextcloud administration panel if you forget it and the password reminder via e-mail does not work.
We will do the whole thing by issuing a simple command.
Log in to ssh preferably at the user level, although it can be root, and go to the directory where our nextcloud files are located.
And we give the order:
occ user:resetpassword admin
We will be asked to enter a new password.
Enter a new password: Confirm the new password: Successfully reset password for admin
occ user:resetpassword admin we replace admin with our username nextcloud.
When we are logged in to the root account, the matter is practically the same, we must execute the command with user rights:
sudo -u nextcloud php occ user:resetpassword admin
sudo -u nextcloud php occ user:resetpassword admin Nextcloud is replaced with the username for which the script is installed.
The guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń…
Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji…
Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w…
You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania…
Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.…
The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy…
Zobacz komentarze
"We will do the whole thing by issuing a simple command.
We log into ssh preferably at the user level"
aha, I know how to do it XD