Hello Joe,

I think you want this : sudo -u www-data python -c "from gluon.main import
save_password; save_password('123456',443)"

Change the 443 for the appropriate port you use to connect and obviously
replace 123456 by you desired password...

Richard


On Thu, Jul 11, 2013 at 2:22 PM, JoeCodeswell <joecodesw...@gmail.com>wrote:

>
> Dear web2py,
>
> I recently tried to re-initialize the web2py admin password for my
> website, joecodeswell.com ,  on Webfaction using CentOS 6 - 64bit.
>
> I followed Alexandre Andrade's post 
> here<https://groups.google.com/forum/#!topic/web2py/WEXWcAP52IY>.
> But i continually get "invalid password".
> Here's the sanitized code for what i did.
>
> $ cd /home/path2/apache2/bin
> $ ./stop
> $ cd /home/path2/web2py
> $ python
> Python 2.7.5 (default, May 16 2013, 20:16:09)
> [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import sys
> >>> sys.exit()
> $ python web2py.py
> web2py Web Framework
> Created by Massimo Di Pierro, Copyright 2007-2013
> Version 2.4.6-stable+timestamp.2013.04.06.17.37.38
> Database drivers available: SQLite(sqlite3), MySQL(pymysql), MySQL(MySQLdb
> ), PostgreSQL(psycopg2), PostgreSQL(pg8000), MSSQL(pyodbc), DB2(pyodbc),
> Teradata(pyodbc), Ingres(pyodbc), IMAP(imaplib)
> choose a password:
> please visit:
>         http://127.0.0.1:8000/
> use "kill -SIGTERM someNumber" to shutdown the web2py server
> ^C$ cp parameters_8000.py parameters_443.py
> $ cd /home/jdor/webapps/w2p6427/apache2/bin
> $ ./start
> $
>
>
> Any ideas? I'd really like to use web2py to support this site.
>
> Thanks for the help in advance.
>
> Love and peace,
>
> Joe
>
> --
>
> ---
> 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.
>
>
>

-- 

--- 
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