Re: [Phpns-team] [Question #74026]: Reset Admin Password

2009-06-12 Thread alecwh
Question #74026 on phpns changed:
https://answers.launchpad.net/phpns/+question/74026

alecwh posted a new comment:
If you have forgotten your admin password, and you have no other admin
accounts on phpns, then you will need to reset your password manually.

That means, you need to go into the database of phpns with a program
like phpMyAdmin (or the mysql command line client), go into the 'users'
table, and edit your admin user row in that table. You will notice that
the password in the password column is a long randomized string. That's
because the password is hashed, and you will need to hash your password
before you replace that password.

Use sha1(), which is a commonly used PHP function. After your hash it,
just plug it into the password column on your admin account's row (using
phpMyadmin or something).

-- 
You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.

___
Mailing list: https://launchpad.net/~phpns-team
Post to : phpns-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~phpns-team
More help   : https://help.launchpad.net/ListHelp


Re: [Phpns-team] [Question #74026]: Reset Admin Password

2009-06-12 Thread butch
Question #74026 on phpns changed:
https://answers.launchpad.net/phpns/+question/74026

butch posted a new comment:
can you please explain the above for tech challenged person. thanks.

-- 
You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.

___
Mailing list: https://launchpad.net/~phpns-team
Post to : phpns-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~phpns-team
More help   : https://help.launchpad.net/ListHelp


Re: [Phpns-team] [Question #74026]: Reset Admin Password

2009-06-12 Thread Andy N2
Question #74026 on phpns changed:
https://answers.launchpad.net/phpns/+question/74026

Andy N2 confirmed that the question is solved:
Thanks alecwh, that solved my question.

-- 
You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.

___
Mailing list: https://launchpad.net/~phpns-team
Post to : phpns-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~phpns-team
More help   : https://help.launchpad.net/ListHelp


Re: [Phpns-team] [Question #74026]: Reset Admin Password

2009-06-12 Thread Andy N2
Question #74026 on phpns changed:
https://answers.launchpad.net/phpns/+question/74026

Status: Answered => Solved

Andy N2 confirmed that the question is solved:
thank you Alec, that worked fine.

-- 
You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.

___
Mailing list: https://launchpad.net/~phpns-team
Post to : phpns-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~phpns-team
More help   : https://help.launchpad.net/ListHelp


Re: [Phpns-team] [Question #74026]: Reset Admin Password

2009-06-12 Thread alecwh
Question #74026 on phpns changed:
https://answers.launchpad.net/phpns/+question/74026

Status: Open => Answered

alecwh proposed the following answer:
The encryption is SHA-1, using PHP's sha1() function. There is no
built-in mechanism for resetting passwords, you'll need to do it with
mySQL (cli interface or whatever).

-- 
You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.

___
Mailing list: https://launchpad.net/~phpns-team
Post to : phpns-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~phpns-team
More help   : https://help.launchpad.net/ListHelp


[Phpns-team] [Question #74026]: Reset Admin Password

2009-06-12 Thread Andy N2
New question #74026 on phpns:
https://answers.launchpad.net/phpns/+question/74026

Hi,

I have forgotten my admin password.

Please can you tell me what encyption mechanism is used for the passwords on 
PHPNS so that I can change it in the command line.

Or is there a simply method to change the admin users password.

Any help would be most apprciated.

Andy

-- 
You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.

___
Mailing list: https://launchpad.net/~phpns-team
Post to : phpns-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~phpns-team
More help   : https://help.launchpad.net/ListHelp