I don''t remember the password. No luck with googling "instiki password reset". How is it done? Ben
>From http://instiki.org/show/FAQ :<quote>jsierles?The above code should be added now to wiki_controller.rb, andshould look like this simply: def setPasswiki.system[:password] = "newpassword"end Visit the /setPass URL and watch an exception thrown. Your passwordshould be reset. Comment code afterwards, of course.</quote> Hope that helps.-- Edu On 5/24/05, Ben Jackson <ben@incomumdesign.com> wrote:> I don''t remember the password. No luck with googling "instiki password> reset". How is it done?> > Ben> > _______________________________________________> Instiki-users mailing list> Instiki-users@rubyforge.org> http://rubyforge.org/mailman/listinfo/instiki-users>
This didn''t work for me... I shut down the wiki, added the lines from the FAQ (the lines below are a little chopped up and won''t compile), restarted and went to http://localhost:2500/setPass, saw the exception "Unknown web ''setPass''", but my password still isn''t being reset. Thanks, - B On 24 May 2005, at 04:50, Eduardo Fernandez Corrales wrote:>> From http://instiki.org/show/FAQ : > <quote>jsierles?The above code should be added now to > wiki_controller.rb, andshould look like this simply: > def setPasswiki.system[:password] = "newpassword"end > Visit the /setPass URL and watch an exception thrown. Your > passwordshould be reset. Comment code afterwards, of course.</quote> > Hope that helps.-- Edu > On 5/24/05, Ben Jackson <ben@incomumdesign.com> wrote:> I don''t > remember the password. No luck with googling "instiki password> > reset". How is it done?> > Ben> > > _______________________________________________> Instiki-users mailing > list> Instiki-users@rubyforge.org> > http://rubyforge.org/mailman/listinfo/instiki-users> > _______________________________________________ > Instiki-users mailing list > Instiki-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users >
Easier to just retrieve the password :-) If you can isolate the wiki for a while (i.e. where no one else canview it) just edit app/views/wiki/page.rhtml (or any other) and insertthis line somewhere near the first div: Password: <%= @wiki.system[''password''] || wiki.system[:password] %> Reload the home page and you''ll see the password in all its glory :-)(If you''re using Instiki 0.9.2 - vs 0.10.x - just drop the @ sign inthe above line). The reason you should isolate the wiki is that anyone else viewing atthis time will also see the password. Don''t forget to delete the lineonce you''re done. Cheers,Assaph On 5/24/05, Ben Jackson <ben@incomumdesign.com> wrote:> This didn''t work for me... I shut down the wiki, added the lines from> the FAQ (the lines below are a little chopped up and won''t compile),> restarted and went to http://localhost:2500/setPass, saw the exception> "Unknown web ''setPass''", but my password still isn''t being reset.> Thanks,> > - B> > On 24 May 2005, at 04:50, Eduardo Fernandez Corrales wrote:> > >> From http://instiki.org/show/FAQ :> > <quote>jsierles?The above code should be added now to> > wiki_controller.rb, andshould look like this simply:> > def setPasswiki.system[:password] = "newpassword"end> > Visit the /setPass URL and watch an exception thrown. Your> > passwordshould be reset. Comment code afterwards, of course.</quote>> > Hope that helps.-- Edu> > On 5/24/05, Ben Jackson <ben@incomumdesign.com > wrote:> I don''t> > remember the password. No luck with googling "instiki password>> > reset". How is it done?> > Ben> >> > _______________________________________________> Instiki-users mailing> > list> Instiki-users@rubyforge.org >> > http://rubyforge.org/mailman/listinfo/instiki-users>> > _______________________________________________> > Instiki-users mailing list> > Instiki-users@rubyforge.org > > http://rubyforge.org/mailman/listinfo/instiki-users> >> > > _______________________________________________> Instiki-users mailing list> Instiki-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users>
Putting in Password: <%= @wiki.system[:password] %> Spit out my expected password, however when tried to use it to log in, I still got access denied. What could be going wrong? On 24 May 2005, at 19:47, Assaph Mehr wrote:> Password: <%= @wiki.system[''password''] || wiki.system[:password] %>
Ben Jackson wrote:> Putting in > Password: <%= @wiki.system[:password] %> > Spit out my expected password, however when tried to use it to log in, > I still got access denied. What could be going wrong?@wiki.system[:password] is an admin password (which you can use to reset a password of a web). Web''s password is @wiki.webs[<your web address>].password -- Best regards, Alexey Verkhovsky Ruby Forum: http://ruby-forum.org (moderator) RForum: http://rforum.andreas-s.net (co-author) Instiki: http://instiki.org (maintainer)
Ah ok. Out of curiosity, how do I get to the admin screen to change the password? On 28 May 2005, at 19:37, Alexey Verkhovsky wrote:> Ben Jackson wrote: > >> Putting in >> Password: <%= @wiki.system[:password] %> >> Spit out my expected password, however when tried to use it to log >> in, I still got access denied. What could be going wrong? > > @wiki.system[:password] is an admin password (which you can use to > reset a password of a web). > Web''s password is @wiki.webs[<your web address>].password > > -- > Best regards, > > Alexey Verkhovsky > > Ruby Forum: http://ruby-forum.org (moderator) > RForum: http://rforum.andreas-s.net (co-author) > Instiki: http://instiki.org (maintainer) > > _______________________________________________ > Instiki-users mailing list > Instiki-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users >
Ben Jackson wrote:> Ah ok. Out of curiosity, how do I get to the admin screen to change > the password?Something like http://localhost:2500/mywiki/edit_web -- Best regards, Alexey Verkhovsky Ruby Forum: http://ruby-forum.org (moderator) RForum: http://rforum.andreas-s.net (co-author) Instiki: http://instiki.org (maintainer)