Old 6th March 2013, 12:58
Gijs Gijs is offline
Join Date: Feb 2013
Posts: 54
Thanks: 20
Thanked 2 Times in 2 Posts
Default 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.

Reply With Quote
Sponsored Links
Old 6th March 2013, 13:07
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

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.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Old 6th March 2013, 13:26
Gijs Gijs is offline
Join Date: Feb 2013
Posts: 54
Thanks: 20
Thanked 2 Times in 2 Posts

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?

Reply With Quote


Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH key for shell users bswinnerton Installation/Configuration 1 11th August 2011 12:03
cannot create new ssh users for one client wildnux Server Operation 0 9th February 2011 02:10
Cacti and ISPConfig: Monitoring Tool VMartins Tips/Tricks/Mods 11 9th August 2008 19:37
Junk mail and spamassassin... sthompson Installation/Configuration 4 27th December 2006 17:11
Lock SSH users in homedir? Tuurbo Installation/Configuration 4 8th June 2006 13:12

All times are GMT +2. The time now is 19:27.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.