Need FTP Access to /Home Directory

urantian

Well-Known Member
Jan 26, 2005
97
1
158
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
 

qkslvr

Member
Mar 2, 2003
18
0
151
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





urantian said:
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
 

qkslvr

Member
Mar 2, 2003
18
0
151
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.


urantian said:
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
 

junglecat

Well-Known Member
Jul 6, 2004
168
0
166
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:
 

qkslvr

Member
Mar 2, 2003
18
0
151
just to let you know- the above gives you teh ability to use SSH and SFTP and FTP as well.