View Single Post
  #1  
Old 26th March 2009, 19:24
sylvester_0 sylvester_0 is offline
Junior Member
 
Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Post ISPConfig 3.0.1 and broken jailkit

Hello all - first I'd like to show my gushing gratitude to all of the developers for this great thing that is ISPConfig!

Just yesterday I installed the final version of ISPConfig 3 onto a fresh Intrepid 8.10 inside of a VPS. All is working well so far except for the jailkit functionality.

Here are some errors that I'm seeing when trying to log in with a newly created shell user.

/var/log/auth.log:
Code:
sshd[24199]: error writing /proc/self/oom_adj: Operation not permitted
last message repeated 2 times
sshd[24199]: Accepted password for mydomain_tldadmin from 10.1.1.208 port 43759 ssh2
sshd[24199]: pam_unix(sshd:session): session opened for user mydomain_tldadmin by (uid=0)
jk_chrootsh[24202]: now entering jail /var/www/clients/client3/web3 for user web3 (1002)
jk_chrootsh[24202]: abort, username web3 differs from jail username mydomain_tldadmin for user ID 1002, check /etc/passwd and /var/www/clients/client3/web3/etc/passwd
sshd[24199]: pam_unix(sshd:session): session closed for user mydomain_tldadmin
/etc/passwd:
Code:
web3:x:1002:118::/var/www/clients/client3/web3/./home/web3:/bin/false
mydomain_tldadmin:x:1002:118::/var/www/clients/client3/web3/./home/mydomain_tldadmin:/usr/sbin/jk_chrootsh
/var/www/clients/client3/web3/etc/passwd:
Code:
root:x:0:0:root:/root:/bin/bash
mydomain_tldadmin:x:1002:118:::/bin/bash
The only other reference to this error that I can find is here: link.

In the end I'm hoping to use jailkit/ssh as a replacement for the insecure FTP service.

Thanks for any help!
Reply With Quote
Sponsored Links