Manually Rearranging Accounts
Hi,
What files do I have to edit to manually configure the server to use a different disk partition. Yesterday when i added a new mount & moved the account around mounts, i think it got corrupted. Now the account is on /home2 where the data isn't available, all the data is in /home3.
replace /home2/ /home3/ - /var/cpanel/userdata/$user/*
replace /home2/ /home3/ - /etc/proftpd/$user
replace /home2/$user /home3/$user - /etc/passwd
ln -s /home3/$user /home2/$user
replace /home2/$user /home3/$user - /home3/$user/etc/*/passwd
What other files do I need to edit to manually configure the cpanel account to read from /home3
-
Anyway the solution was to simply rename the folder name and shift it from old disk to new disk then rename it. Like I mentioned above, it was a bug which i can't reproduce. 0
Please sign in to leave a comment.
Comments
2 comments