The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How can I export Private Directory Users

Discussion in 'Database Discussions' started by Derrick Gardner, Jun 21, 2017.

  1. Derrick Gardner

    Derrick Gardner Registered

    Joined:
    Jun 21, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    North Andover, MA
    cPanel Access Level:
    Root Administrator
    Hello, I have been using Directory Privacy for a certain folder on my server. I would like to export those users I have created. How can I do this?

    Thanks,

    Derrick
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello Derrick,

    You can't export the users through cPanel, but you can find the corresponding passwd file in the following location if you want to see it via the command line:

    /home/$username/.htpasswds/public_html/$protected-directory-name/passwd

    Thank you.
     
  3. Derrick Gardner

    Derrick Gardner Registered

    Joined:
    Jun 21, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    North Andover, MA
    cPanel Access Level:
    Root Administrator

    Ok, thats great I was able to view all my users. However the passwords dont look at all like the ones I have assigned. I am assuming this has to do with hash and salt? Is there a way of viewing them the proper way?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The passwords are encrypted, and it's not possible to view them in plaintext (this is for security purposes).

    Thank you.
     
Loading...

Share This Page