From 8ef581a4ef9f2f8959b6a6cf7afa1520130c4427 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Sun, 3 Mar 2024 19:05:07 +0300 Subject: [PATCH] docs(en): Add info on how to get admin rights in pleroma --- content/en/docs/Services/pleroma.md | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/content/en/docs/Services/pleroma.md b/content/en/docs/Services/pleroma.md index 373b707..53c77cc 100644 --- a/content/en/docs/Services/pleroma.md +++ b/content/en/docs/Services/pleroma.md @@ -5,11 +5,11 @@ description: > Decentralized Social Network Server --- -Any centralized social network will have to take care of moderation, censorship, -implementing rules, reading your correspondence as it grows. -Another thing is your own social network, which can only belong to you, -your family or your team. Only a decentralized network can provide maximum privacy. -That's why we offer you to become part of the Fediverse decentralized network. +Any centralized social network will have to take care of moderation, censorship, +implementing rules, reading your correspondence as it grows. +Another thing is your own social network, which can only belong to you, +your family or your team. Only a decentralized network can provide maximum privacy. +That's why we offer you to become part of the Fediverse decentralized network. At SelfPrivacy we use [Pleroma](https://pleroma.social/). @@ -24,4 +24,15 @@ At SelfPrivacy we use [Pleroma](https://pleroma.social/). ## Features of Pleroma - A social network of any scale: from a personal server with a single account to a massive thematic site; -- Your social network, your rules. You are the censor, moderator and administrator. \ No newline at end of file +- Your social network, your rules. You are the censor, moderator and administrator. + +## Getting admin rights + +Right now you can get admin rights only by using the command line. + +1. Connect to your server via SSH as a `root` user. Use [this guide](/docs/how-to-guides/root_ssh/) if you need help. +2. Run the following command, replacing `` with the username you want to make an admin: + ``` + sudo -u pleroma env RELEASE_COOKIE=/var/lib/pleroma/.cookie pleroma_ctl user set --admin + ``` +3. Done! Now the user `` has admin rights.