How are we supposed to disable /setup after making an admin account on a newly created instance?

23 days ago by vercetti to c/fediverse

I made my admin account, but I can still accept /setup which looks like it will allow any random user to make an admin account as well.

How do I fix this?

Edit: It turns out that creating the admin account doesn't work, even though the page is still there.

one_old_coder 8 points 23 days ago

Lemmy, PieFed, Mastodon?

path: 0 25903716, hotness: undefined, score: 8, children: 3
vercetti 7 points 23 days ago

This is for Lemmy.

path: 0 25903716 25903723, hotness: undefined, score: 7, children: 2
one_old_coder 10 points 23 days ago

I don't see any guide talking about that. I would try some kind of Htaccess to prevent people from using /setup.

It feels like a bandaid, but on the other hand I have never seen a "server application" where URLs like /setup can selfdestruct after one use.

path: 0 25903716 25903723 25903846, hotness: undefined, score: 10, children: 0
OpenStars 0 points 23 days ago

You might try PieFed's setup process also - its reputedly very streamlined.

path: 0 25903716 25903723 25906922, hotness: undefined, score: 0, children: 0
Die4Ever 2 points 22 days ago

I don't think it does anything once the first admin account is created

path: 0 25918421, hotness: undefined, score: 2, children: 0
hexagonwin 2 points 22 days ago

even lemmy.ml operated by its devs have /setup exposed and not working, i think its fine

if it bothers you block or redirect the url on your web server's config

path: 0 25920754, hotness: undefined, score: 2, children: 0
frongt 2 points 23 days ago

Does it actually work?

path: 0 25907496, hotness: undefined, score: 2, children: 1
vercetti 2 points 22 days ago

Thanks. I just tried it out and it actually doesn't work. The page is still there which is annoying, but at least it can't be exploited to give random people admin accounts.

path: 0 25907496 25921984, hotness: undefined, score: 2, children: 0
fediverse
fediverse

@lemmy.world

login for more options
44305
3366
4804

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, Mbin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

  • Posts must be on topic.
  • Be respectful of others.
  • Cite the sources used for graphs and other statistics.
  • Follow the general Lemmy.world rules.

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration)

go to feed...