]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/index/discussion.mdwn
web commit by http://users.itk.ppke.hu/~cstamas/: add cstamas css
[ikiwiki.git] / doc / index / discussion.mdwn
index ed4ca407f8f21c8ce476ca98e8ed991fc4807a7d..ef7337c890443c0a95073c111d8a59d7158f10f6 100644 (file)
@@ -359,6 +359,16 @@ Any tool to edit the user database?
 > to do it rarely, and the data I've wanted has been different each time.
 > --[[Joey]]
 
+>> Thanks for these examples -- I have been using them. I don't know the
+>> Storable yet. Can someone share an example of removing a user? (I now
+>> setup account\_creation\_password and I have some spammer with different
+>> login names that I have banned that I might as well remove from the
+>> userdb.)
+
+>>> Let's see, you could do something like this:
+>>>    perl -le 'use Storable; my $userinfo=Storable::retrieve("userdb"); delete $$userinfo{"joey"}; Storable::lock_store($userinfo, "userdb")'
+>>> I suppose I should stop being lame and create a command line tool wrapping up these operations.. --[[Joey]]
+
 ----
 
 # Spaces in WikiLinks?