Monday, May 27, 2013

jailkit + ispconfig + ubuntu 12.04 SFTP problem

Hi,

with the jailkit on ubuntu 12.04 and installed ispconfig, by default chrooted SFTP not working. Here is a workaround:

we need to edit /etc/jailkit/jk.init.ini

change section from:

---- snip ----
comment = common files for all jails that need user/group information
libraries = /lib/libnsl.so.1, /lib64/libnsl.so.1, /lib/libnss*.so.2, /lib64/libnss*.so.2
regularfiles = /etc/nsswitch.conf, /etc/ld.so.conf
---- snip ----

to:

comment = common files for all jails that need user/group information
libraries = /lib/libnsl.so.1, /lib64/libnsl.so.1, /lib/libnss*.so.2, /lib64/libnss*.so.2, /lib/x86_64-linux-gnu/libnsl.so.1, /lib/x86_64-linux-gnu/libnss*.so.2
regularfiles = /etc/nsswitch.conf, /etc/ld.so.conf

and this section also:

---- snip ----
[netbasics]
comment = common files for all jails that need any internet connectivity
libraries = /lib/libnss_dns.so.2, /lib64/libnss_dns.so.2
regularfiles = /etc/resolv.conf, /etc/host.conf, /etc/hosts, /etc/protocols
---- snip ----


to:

[netbasics]
comment = common files for all jails that need any internet connectivity
libraries = /lib/libnss_dns.so.2, /lib64/libnss_dns.so.2, /lib/x86_64-linux-gnu/libnss_dns.so.2
regularfiles = /etc/resolv.conf, /etc/host.conf, /etc/hosts, /etc/protocols

add new chrooted user, and everything will work from now on.

Labels: , , ,

Wednesday, May 22, 2013

HP Proliant ML150 G6 won't boot from CDROM

If your HP Proliant ML150 G6 won't boot from CDROM but BIOS sees it, change SATA mode from AHCI to Compatible.

Labels: , , ,