Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-08-2007, 01:35 AM   #1
Registered: Feb 2004
Location: Quetta
Distribution: RedHat
Posts: 54

Rep: Reputation: 15
Move FTP Accounts

Hi Guys,

I have recently added another SATA hard drive to my Linux box, i am running vsftp on my server and i want to shift all the accounts (folders) from /home to my new added Hard Drive which is /FTP. So any Help??
if i want to adduser (new) how can i specify the path noth the orignal one (/home) i want it to create its folder in /FTP partition....

Thanks in advance..
Old 06-08-2007, 05:46 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
You can always symlink it but if you have other users with more than FTP access, you're probably just better off editing the FTP users by editing your /etc/passwd file to point them to their new location, /ftp/<username> or however you have it setup.

Schedule a downtime (stopping vsftpd), move the home user folders you need to move, edit their default /home directory to new location in /etc/passwd, you're done.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot using FTP move command to move files adrianmak Linux - Networking 4 04-21-2009 12:01 PM
setting up ftp accounts under CPanel dc144 Linux - Newbie 4 09-27-2006 09:32 PM
Two ftp accounts in one site Roosta21 Linux - Newbie 3 03-24-2005 07:03 AM
restricting accounts in wu-ftp dkc_ace Linux - Software 18 01-11-2003 11:14 PM
guest ftp accounts scottp Linux - Networking 0 10-08-2001 05:34 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration