Re: [LogiLogi-list] Be an admin
Status: Beta
Brought to you by:
wybow
|
From: Wybo W. <ma...@wy...> - 2009-12-14 21:18:50
|
> I would like to be admin on our site. There is already one but I do not
> know the password and it is not written in clear in the DB. How could I
> be the admin of the system ?
I've changed the password and e-mailed it to you privately.
It can be done with:
cd /var/www/logilogi/fr/current
sudo su www-data
script/console production (opening the Rails console with the
production db)
u = User.find_by_name('Admin User')
u.password = u.password_confirmation = 'mynewpassword' (setting
both the password and the password_confirmation fields)
u.save
greetings,
Wybo
> Tack
>
> Martine
>
> ------------------------------------------------------------------------------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> LogiLogi-list mailing list
> Log...@li...
> https://lists.sourceforge.net/lists/listinfo/logilogi-list
--
::Student:
- MA in Digital Humanities at King's College London
- 3 BAs 1st cl. hons in Humanities Computing, History and Philosophy
::Secretary of the Members Council of Goodenough College:
- Room 2150, Goodenough College, Mecklenburgh Square, London WC1N 2AB, UK
::Free Software and Open Source Developer:
- http://www.LogiLogi.org, Cumulative, shared commenting, publication and
idea sharing: Philosophy beyond the Book...
|