In pythonanywhere you do:

cd web2py
python -c "from gluon.main import save_password; 
save_password(raw_input('admin password: '),443)"

since there is no sudo (at least in the free one I used).
After that you access admin via

https://yoursite.pythonanywhere.com/admin

Denes


On Tuesday, September 3, 2013 6:57:57 AM UTC-4, Massimo Di Pierro wrote:
>
> Do
>
> cd web2py
> sudo -u www-data python -c "from gluon.main import save_password; 
> save_password(raw_input('admin password: '),443)"
>
> This will create a password file for you valid when admin is accessed via 
> https (port 443).
>
> On Monday, 2 September 2013 16:52:10 UTC-5, mark warburton wrote:
>>
>>
>>  
>>  
>> Hi, when I use my web2py admin console, this message is displayed. 
>>  
>> { admin disabled because unable to access password file } hence unable to 
>> access or update app, any ideas?   
>>  
>>  
>> Deployed app through pythonanywhere.
>>  
>> Mark
>>  
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to