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.. |
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. |
All times are GMT -5. The time now is 06:29 PM. |