diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-01-16 13:32:05 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-01-16 13:32:05 -0500 |
commit | 55dda5d59166c935a96bcd56515e3a158838c9bc (patch) | |
tree | 7dd1690aa4ad7aac6131d309865a9ff400a190bd /doc/index | |
parent | 572af908eb0f91926ad4feba4cc557da4c6a645f (diff) | |
download | ikiwiki-55dda5d59166c935a96bcd56515e3a158838c9bc.tar ikiwiki-55dda5d59166c935a96bcd56515e3a158838c9bc.tar.gz |
response
Diffstat (limited to 'doc/index')
-rw-r--r-- | doc/index/discussion.mdwn | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/index/discussion.mdwn b/doc/index/discussion.mdwn index 0a0b2e972..ef7337c89 100644 --- a/doc/index/discussion.mdwn +++ b/doc/index/discussion.mdwn @@ -359,7 +359,15 @@ 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.) +>> 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]] ---- |