SFTP as root gives me access to /root/
Hi guys,
When I SFTP to my server (using the root account I SSH with to set everything up) it lands me in a /root/ folder with .bash_history, .bash_logout, .bash_profile etc. I was hoping I would see the root directory (/bin /boot /dev /etc and so on). The idea is that (as web admin) I want to be able to move stuff between my client sites, which are located in /srv/www/client1/ for each user. Down the line I will set them up with FTP accounts that limit access to their folder.
Is the /root/ folder my "home directory" and - if yes - can I change it to the base directory of the server? Is this usual behaviour or could it be a problem with my SFTP client?
I'm running CentOS 5.6.
Cheers,
Sam
|
Recent comments
9 hours 26 min ago
10 hours 26 min ago
14 hours 13 min ago
15 hours 27 min ago
19 hours 3 min ago
1 day 2 hours ago
1 day 11 hours ago
1 day 12 hours ago
2 days 3 hours ago
2 days 6 hours ago