• Resolved dock3r

    (@dock3r)


    Hi,

    Is it possible to use the ‘user_pass’ as column name to import WP generated password hashes?

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter dock3r

    (@dock3r)

    Nevermind. If I name it to Password, the hash values are imported correctly.
    Great plugin, keep up the good work!

    Plugin Author Javier Carazo

    (@carazo)

    Yes, we did this feature some time ago.

    Thanks for your words. If you have a minute, please help us with a good review or a little donation to make possible a better plugin!

    Thread Starter dock3r

    (@dock3r)

    Hi Javier,

    Sure thing! ??
    Would you consider to mention the password hash thing in the documentation? It is not clear right now for a newcomer :).

    Plugin Author Javier Carazo

    (@carazo)

    Yes, we have to include it, that’s true.

    When we did the new functionality we forgot to do it.

    In next release it will be done, thanks for all!

    victor50g

    (@victor50g)

    Hi, no idea how to use the “password” field. It doesn’t work to add “plain” passwords to new users.

    Plugin Author Javier Carazo

    (@carazo)

    Good evening,

    Did you read the documentation respect to it?

    A string that contains user passwords. We have different options for this case:
    If you don’t create a column for passwords: passwords will be generated automatically
    If you create a column for passwords: if cell is empty, password won’t be updated; if cell has a value, it will be used

    If have some new question tell me.

    victor50g

    (@victor50g)

    Thanks for your quick reply. I created a column “passwords” A new user is added “someuser1” and the password is in the cell (element in csv) in plain text “Some23pwd”. I import this but the password does not work. I can see there is some string in the wp database.

    Plugin Author Javier Carazo

    (@carazo)

    @victor50g,

    As this is said in the the documentation, that you can read in the plugin, you have to use the column “Password”.

    victor50g

    (@victor50g)

    Sorry, your documentation page says:

    Password*s* A string that contains user passwords. We have different options for this case:
    If you don’t create a column for password*s*: passwords will be generated automatically
    If you create a column for password*s*: if cell is empty, password won’t be updated; if cell has a value, it will be used

    I now see that in the example at the end it says “password” without *s*

    Plugin Author Javier Carazo

    (@carazo)

    Yes the column name is without commas. In documentation it appears “Password” without commas in the title of this section.

    Use “Password” and then use the password that you want to set to each user.

    victor50g

    (@victor50g)

    I now did so, working fine! I didn’t use parenthesis at all. On the documentation page it says passwords on the left side. This caused me to call the column passwords in stead of password in the csv.

    Plugin Author Javier Carazo

    (@carazo)

    Uhm, I have to change it.

    I found out that sometime the password hash would be imported as plain text

    for example , password 12345678 , md5 hash is 25d55ad283aa400af464c76d713c07ad
    I can just input it in the mysql and it would be ok to use 12345678 to login. WordPress would re-hash it to $P$Bxxxxxxxxx next login.

    however using the plugin, if I put 25d55ad283aa400af464c76d713c07ad in the password column

    the plugin would consider “25d55ad283aa400af464c76d713c07ad” as plaintext password, and hash it to some $P$Bxxxxxxxxxxxx

    then the password become 25d55ad283aa400af464c76d713c07ad

    Plugin Author Javier Carazo

    (@carazo)

    You can use user_pass instead of passwords if you want to import passwords as a hash.

    hello is possible import users with pass crypt? i have pass of opencart and need import to wordpress.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Import password hash’ is closed to new replies.