Maxence

Member
Apr 25, 2010
12
2
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
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,243
463
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.
 

Maxence

Member
Apr 25, 2010
12
2
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 ?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,243
463
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,243
463
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.
 

Maxence

Member
Apr 25, 2010
12
2
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.
 
  • Like
Reactions: cPanelMichael