Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
How to delete all the users
Avatar
wiki_ecmi #1
Member since Dec 2013 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: How to delete all the users
After the dokuwiki installation all the community members are added to my account. I want to delete all the users at the same time
Avatar
ach (Administrator) #2
Member since May 2006 · 1926 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
You can delete users either through the user manager. Or if you have too many users and you use the default authentication, just deleted everything (except yourself) from conf/users.auth.php.
Avatar
chasedokuwiki #3
Member since Jan 2014 · 4 posts
Group memberships: Members
Show profile · Link to this post
Quote by ach on 2013-12-06, 10:31:
You can delete users either through the user manager. Or if you have too many users and you use the default authentication, just deleted everything (except yourself) from conf/users.auth.php.

can u explain this in further detail?

I have not been using dokuwiki for some time but kind of forgot about how this works.

When I try to access the conf directory from the browser, it says 403. Maybe I locked it.

Please advise on the best way to delete thousands of bot users.

Thank you.
Avatar
ach (Administrator) #4
Member since May 2006 · 1926 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
Quote by chasedokuwiki:
Quote by ach on 2013-12-06, 10:31:
just deleted everything (except yourself) from conf/users.auth.php.

[...]
When I try to access the conf directory from the browser, it says 403. Maybe I locked it.

You need to open that file *on the file system* not from your browser. Depending on your hosting solution, you could do it via ssh or ftp or some admin panel.
Avatar
chasedokuwiki #5
Member since Jan 2014 · 4 posts
Group memberships: Members
Show profile · Link to this post
Thanks Done. I removed all the bot users.
Avatar
jjensen #6
Member since Mar 2016 · 13 posts · Location: Las Vegas, Nevada, USA
Group memberships: Members
Show profile · Link to this post
Subject: keep bot users out
Hello,

I had the same problem, about 43,000 bot users and easily deleted them from the conf/users.auth.php file. My question is how do I keep this from happening again in the future?

thanks,

Jeff Jensen
Avatar
jjensen #7
Member since Mar 2016 · 13 posts · Location: Las Vegas, Nevada, USA
Group memberships: Members
Show profile · Link to this post
Ok, I'm trying the following

How to disable open user registration
https://www.dokuwiki.org/faq:regdisable

from config manager, under Disable DokuWiki actions, check on Register

Then I think this will keep bot users from registering on my wiki. Please let me know if I'm wrong about this.

thanks,

Jeff Jensen
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-08-19, 16:18:58 (UTC +02:00)