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.

Webdav Admin Account

Discussion in 'General Discussion' started by Maxence, May 2, 2017.

Tags:
  1. Maxence

    Maxence Member

    Joined:
    Apr 25, 2010
    Messages:
    12
    Likes Received:
    2
    Trophy Points:
    53
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hello,

    We are trying cpanel + cloudlinux for a new hosting plan for our client and as a web agency we edit our own website, so we need one access per user on every website.
    Is it possible to setup X webdav account for all website and new website configured on this server ?
    (Webdav Account + Domain website)

    Greetings
     
    #1 Maxence, May 2, 2017
    Last edited: May 2, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    By default, the system creates a Web Disk account for each cPanel username, and sets the account's home directory as the Web Disk location for that account. This account uses the same login information as the cPanel account. Documentation on this is available at:

    Web Disk - Documentation - cPanel Documentation

    Thank you.
     
  3. Maxence

    Maxence Member

    Joined:
    Apr 25, 2010
    Messages:
    12
    Likes Received:
    2
    Trophy Points:
    53
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hello Michael,

    Thanks for your reply.

    To be clear, is it possible to give access on all websites to a reseller ?
    I would like to create an account for each of my teammate to login on each webdisk with their username + domain of the webdisk without creating each account on each website.
    CPanel can handle this configuration ?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    You'd have to use the specific cPanel account username to access WebDav for the websites under that cPanel account. Setting up a global user to access WebDav for multiple cPanel accounts isn't supported.

    Thank you.
     
  5. Maxence

    Maxence Member

    Joined:
    Apr 25, 2010
    Messages:
    12
    Likes Received:
    2
    Trophy Points:
    53
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Ok thanks, so it means I have to create each account for my teammate on every website account ?
    Can I use CPanel API for this task ?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,204
    Likes Received:
    1,296
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @Maxence,

    If you have setup separate cPanel accounts for each website, then you must use a separate username when accessing WebDav for each website. The username/password will match the cPanel account username/password. You can setup individual Web Disk accounts via the "Web Disk" option in cPanel if you prefer to not provide the cPanel account username/password to your teammates. The following UAPI function is available if you prefer to create these users via the command line or a script:

    UAPI Functions - UserManager::create_user - Software Development Kit - cPanel Documentation

    Thank you.
     
  7. Maxence

    Maxence Member

    Joined:
    Apr 25, 2010
    Messages:
    12
    Likes Received:
    2
    Trophy Points:
    53
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hello,

    Just to say, I used your Json API to setup all my webdav account on each client owned by certains reseller, it works like a charm.

    Functions used :
    • resellerstats
    • listwebdisks
    • addwebdisk
    • delwebdisk
    • passwdwebdisk

    Thanks.
     
    cPanelMichael likes this.
Loading...

Share This Page