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.

Need FTP Access to /Home Directory

Discussion in 'General Discussion' started by urantian, Feb 14, 2005.

  1. urantian

    urantian Well-Known Member

    Joined:
    Jan 26, 2005
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Fayetteville, Arkansas
    cPanel Access Level:
    Root Administrator
    I want to create an FTP account where I can work with mulitple user directories, by assigning "/Home" as the top-level directory. However, after creating the account, I encounter an access-denied message when I attempt to log into the FTP account. Is there something else I must do to make this possible?

    ---Michael
     
  2. qkslvr

    qkslvr Member

    Joined:
    Mar 2, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    useradd with specified dir

    Try this- however Keep in mind I am not responsible for any harfm you could cause! (mostlikely there should be no adverse problems because of it- however I usually only do this with directories that are empty.

    Good luck!


    As root

    /usr/sbin/useradd username -d /home

    If you want other custom settings then you can look at the manual for useradd. This will add their homedirectory as /home/username with all the usual settings for a standard user.

    Also remember to change the password on the account:
    passwd username





     
  3. urantian

    urantian Well-Known Member

    Joined:
    Jan 26, 2005
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Fayetteville, Arkansas
    cPanel Access Level:
    Root Administrator
    Is there a configuration file that contains the FTP directory settings? From what I have seen, the PASSWD file seems to contain the home directory for shell access. But, what about FTP?

    ---Michael
     
  4. qkslvr

    qkslvr Member

    Joined:
    Mar 2, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    I provided the above method that has worked for me to provide ftp access to hds. There should be no reason for it to not work.

    Why don't you try it or do a man useradd

    Best of luck.


     
  5. junglecat

    junglecat Well-Known Member

    Joined:
    Jul 6, 2004
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16
    I use the Secure File Transfer Client from ssh.com

    It works like FTP except its for the entire server and it's much more secure than ftp.
    It uses port 22, whereas ftp uses port 21.

    Using ftp to access /home is not a wise thing to do. :rolleyes:
     
  6. qkslvr

    qkslvr Member

    Joined:
    Mar 2, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    just to let you know- the above gives you teh ability to use SSH and SFTP and FTP as well.
     
  7. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    For MacOS, try RBrowser for that sort of functionality...
     
Loading...

Share This Page