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.

Disable FTP Access for a single account.

Discussion in 'General Discussion' started by evolver, May 21, 2003.

  1. evolver

    evolver Well-Known Member

    Joined:
    Apr 14, 2003
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Hello All,

    How can I disable FTP Access for my demo account and one of my user's ? Please tell me step by step :)

    Current FTP Server: PureFTPD

    Thanks...

    cPanel.net Support Ticket Number:
     
  2. Host4u2

    Host4u2 Well-Known Member

    Joined:
    Mar 24, 2002
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    Create unreal-domain name account without CGI, Shell access and Turn on 'demo mode' for that account

    To disable email

    Remove the domain entry from "/etc/userdomains", and "/etc/localdomains"

    Removing these entries will prevent anyone from sending mail from the demo account. They will still be able to go into Neomal they just won't actually be able to send anything.

    To disable ftp
    Add username on

    /etc/ftpusers

    Description:
    Deny FTP access. The ftpusers file is used to deny FTP access to specific users. The format is a simple text file listing the restricted users one per line.

    cPanel.net Support Ticket Number:
     
  3. evolver

    evolver Well-Known Member

    Joined:
    Apr 14, 2003
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Thanks Host4u2 ... I will try it :)

    cPanel.net Support Ticket Number:
     
  4. jmc67

    jmc67 Well-Known Member

    Joined:
    Mar 10, 2002
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    Can this also be accomplished by removing the account entries from proftpd.conf?

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page