146
edits
(Add services list) |
No edit summary |
||
Line 85: | Line 85: | ||
== Setting up an admin account from CLI w/ email confirmation == | |||
Note that you need to be logged in as the mastodon user for this to work. | |||
<OPTIONAL> If you did not create that user account and don't know the password, then you should do the following: | |||
sudo su - mastodon | |||
The following command will work if the username and email have been registered from the UI. Very useful if SMTP server hasn't been setup yet. | |||
cd /home/mastodon/live | |||
RAILS_ENV=production ./bin/tootctl accounts modify <username> --role Admin --email <email-address> --confirm | |||
* [[Category:Guide]] | * [[Category:Guide]] | ||
* [[Category:Mastodon]] | * [[Category:Mastodon]] |