SSH Shell users homedir
If I create a Shell user, the homedir is not the usual homedir as you connect with FTP, but it is /homedir/home/sshuser
If I take a look at /etc/passwd it created the homedir there and if I delete that piece it connects fine to the actual homedir.
Does anyone know how I can change this so that it is using the standard homedir? In ISPConfig 3 it says the right directory.
This will not work if I remember correctly as jailkit will fail to create the jails then. A ssh user must have its own home directory, so thats omething different then ftp. SSH users in linux always have their own homeir in /home/username btw.
If you check this line in /etc/passwd:
This part defines the chrooted dir right:
And this the homedir:
So if I remove the last part it still connects fine and is still chrooted.
So you still think it is impossible to automatically use the chrooted dir?
|All times are GMT +2. The time now is 10:26.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.