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.

Block FTP Access

Discussion in 'General Discussion' started by maverick23, Jul 8, 2005.

  1. maverick23

    maverick23 Well-Known Member

    Joined:
    Feb 23, 2005
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    DataCenter Provider
    Hi All,

    I was wondering that is it possible to create an account in cpanel in which the customer can just operate mailing and nothing else. Means no FTP access no website running?

    If it is possible pl. let me know how can i block FTP access for the accounts that are already created.

    Regards,
    Rajat
     
  2. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    You can do so by using Xmail skin.
     
  3. Stanleytiew

    Stanleytiew Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    143
    Likes Received:
    0
    Trophy Points:
    16
    I set one account to use xmail but ftp access is not block, I can still upload files using ftp software.
     
  4. HostingZero.com

    HostingZero.com Active Member

    Joined:
    Jun 23, 2005
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    We are also interested in this.

    Perhaps cpanel could integrate this feature?
     
  5. Stanleytiew

    Stanleytiew Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    143
    Likes Received:
    0
    Trophy Points:
    16
  6. DalQuest

    DalQuest Member

    Joined:
    Sep 22, 2004
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    While I don't recommend this because of it's laborious nature should you accidently do an 'FTP password sync' from within WHM, you could simply edit the password file manually for the domain account. The password files are stored in /etc/proftpd regardless of if you are using Proftpd or pure-ftpd. Since ftp accounts aren't created for individual mail users, I would imagine the main account password would be the only one that ever needs changing.

    -D-
     
  7. Stanleytiew

    Stanleytiew Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    143
    Likes Received:
    0
    Trophy Points:
    16
    Good suggestion from DalQuest, I can't find the password in /etc/proftpd but the username is there, when you change the username, access to ftp will be denied. This maybe a temporary solutions for those who wanted to offer only email to their clients.
     
  8. DalQuest

    DalQuest Member

    Joined:
    Sep 22, 2004
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Each cpanel account should be listed there. It is a text file similar to the /etc/passwd on standard unix systems. type /cat then one of the usernames (cat thisuser) and it will display the associated logins and passwords for that account.

    -D-
     
Loading...

Share This Page