Skip to main content

Separate FTP account for client - home directory?

Comments

13 comments

  • SimpleSonic
    Why not just create an additional FTP account in cPanel specifically for the client?
    0
  • markus909
    Why not just create an additional FTP account in cPanel specifically for the client?

    I think that is exactly what I am trying to do. Create a separate FTP account in cPanel for the client. But if you don't change the home directory it would be just an empty / new home directory. I tried to change the home directory and it works, but I try to understand those risks as well (e.g. when deleting the FTP user). I also try to understand what's best practice for this
    0
  • SimpleSonic
    I think that is exactly what I am trying to do. Create a separate FTP account in cPanel for the client. But if you don't change the home directory it would be just an empty / new home directory. I tried to change the home directory and it works, but I try to understand those risks as well (e.g. when deleting the FTP user). I also try to understand what's best practice for this

    Deleting the FTP user doesn"t delete the data in the folder they were assigned, so no need to worry about that.
    0
  • markus909
    From what I remember from the last time I tried you get a big warning, something like "the home directory of the user gets deleted". If I create a new FTP user and manually assign the root of the cPanel account as the home directory ... it's difficult to click that button "delete user" at some later time, when it tells you that the home directory gets deleted. I can try later to make a screenshot. It's not something I need actually. It's something I must understand now thought, to never get into that situation. Do you know what's the recommended approach in general when it comes to giving access to clients as a reseller (not using WHMCS, just WHM to offer separate cPanel accounts for client projects). I am a sole proprietor. I think it's my responsibility to give the client enough access (bus factor). If I do that, I also easier get the client to host with me and not their cheap shared hosting. But the factor that they have either no access or full access stops me. Therefore I try to split it up to get a better picture of it: 1. FTP access 2. cPanel access / perhaps some reduced cPanel access instead of full access (not possible as of now)
    0
  • SimpleSonic
    I would just give them access to cPanel. Do you not trust them with having access to cPanel? If that is the case, you may want to warn the client about making changes, etc. and how it can break their account and/or cause data loss prior to providing access.
    0
  • markus909
    I am new to cPanel. So I don't know the ins and outs yet, therefore I am careful with it. Another reason is that I think it's good when troubleshooting to perhaps see who did something in logs, etc. - if we share the same user to access cPanel and FTP this won't be possible in any way So I am on the fence weather I give them all access or find a better solution. I am also still very surprised that this big cPanel does not provide a solution for this, and that cPanel user sharing is still necessary. I know many agencies don't give access at all to the client (not Admin in WordPress, no FTP, no cPanel or other management panel, no domain registrar). As I run everything by myself I can't do that and don't want to do that. It is too much of a risk for the client, I would not feel good about it. But giving out EVERYTHING (cPanel account) is also not making me feel any better just yet
    0
  • SimpleSonic
    I am new to cPanel. So I don't know the ins and outs yet, therefore I am careful with it. Another reason is that I think it's good when troubleshooting to perhaps see who did something in logs, etc. - if we share the same user to access cPanel and FTP this won't be possible in any way So I am on the fence weather I give them all access or find a better solution. I am also still very surprised that this big cPanel does not provide a solution for this, and that cPanel user sharing is still necessary. I know many agencies don't give access at all to the client (not Admin in WordPress, no FTP, no cPanel or other management panel, no domain registrar). As I run everything by myself I can't do that and don't want to do that. It is too much of a risk for the client, I would not feel good about it. But giving out EVERYTHING (cPanel account) is also not making me feel any better just yet

    There is a hidden/system file in the root of the home directory named ".lastlogin" that gives the IP address and timestamp of the logins to the cPanel account, so that can give you an idea of who was logged in when something occurs.
    0
  • markus909
    Thanks that can help ... I still hope for the development of the Team Manager, I think that will be of great help for many to handle access
    0
  • cPRex Jurassic Moderator
    It will be fully supported in 112, depending on your license type - Manage Team Roadmap | cPanel & WHM Documentation
    0
  • SimpleSonic
    It will be fully supported in 112, depending on your license type -
    0
  • markus909
    It will be fully supported in 112, depending on your license type - I hope my hosting company won't need too long to update
    0
  • cPRex Jurassic Moderator
    112 is in Edge right now if you wanted to check it out on a test machine!
    0
  • markus909
    Not 100% sure what Edge is, but sounds like a Release Candidate. I am only the user of a reseller account, so for now I probably won't be able to invest time in the actual setup of a test environment, to learn about setting up WHM and CP somehow on localhost. Thanks for pointing it out though
    0

Please sign in to leave a comment.