LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 06-08-2007, 02:35 AM   #1
L1nuxbug
Member
 
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??
and
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, 06:46 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
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.
 
  


Reply


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 01:01 PM
setting up ftp accounts under CPanel dc144 Linux - Newbie 4 09-27-2006 10:32 PM
Two ftp accounts in one site Roosta21 Linux - Newbie 3 03-24-2005 08:03 AM
restricting accounts in wu-ftp dkc_ace Linux - Software 18 01-12-2003 12:14 AM
guest ftp accounts scottp Linux - Networking 0 10-08-2001 06:34 AM


All times are GMT -5. The time now is 05:37 PM.

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