[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: Απάντ: destroy username for administrator



I've written a script for that, because I always think it's safer than hacking around in the database:

https://github.com/gobfrey/eprints_change_password_script/blob/master/change_password.pl

--
Adam Field
Business Relationship Manager and Community Lead
EPrints Services
+44 (0)23 8059 8814





On 1 Dec 2015, at 06:51, George Mamalakis wrote:

> As stated in http://wiki.eprints.org/w/How_to#HOW_TO:_Reset_your_EPrints_admin_password_.5B3.3.5D, one easy way to do it is to login to your database and run:
>  
> UPDATE user SET password = encrypt('newpassword') WHERE userid = 1;
>  
> Good luck with that!
>  
> -- 
> George Mamalakis
>  
> IT and Security Officer,
> Electrical & Computer Engineer (Aristotle Un. of Thessaloniki),
> PhD (Aristotle Un. of Thessaloniki),
> MSc (Imperial College of London)
>  
> Dpt. of Electrical & Computer Engineering
> Aristotle Un. of Thessaloniki
>  
>  
> ------ ?????? ??????------
> ???: Dio Eka
> ??????????: ???, 1 ??? 2015 6:39 ??
> ????: eprints-tech at ecs.soton.ac.uk;
> ????:[EP-tech] destroy username for administrator
>  
> Hello,
>  I have a problem, my usename for administrator is destroy. how can I get it again? 
> please help me
> 
> Thank you
> 
> Regards
> dio
> 
> 
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/