logo       
Google Custom Search
    AddThis Social Bookmark Button

account creation when using logins: msg#00049

Subject: account creation when using logins
Hi,

I have recently configured a wiki that requires login and password
before allowing the user to edit pages.  MySQL DB is used as the back
end.  I am using version 1.3.11.

In order to create the accounts, I edited the mysql tables directly,
putting in entries such as the following:

mysql> insert into user set userid="BenH",passwd="MySecretPass";
mysql> insert into pref set 
userid="BenH",prefs='a:2:{s:6:"userid";s:4:"BenH";s:6:"passwd";s:12:"MySecretPass";}';

At this point, I could log in, change my password, etc.  

Is there a better way of doing this?  
Is there an interface to creating accounts?  
May I skip the second insert line, and only add users to the 'user'
table?

Thanks,

-ben

-- 
Ben Hartshorne
email: ben@xxxxxxxxxxxxxx
http://ben.hartshorne.net

Attachment: signature.asc
Description: Digital signature


Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>