[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] Problem to establish a SFTP for windows

From: Olivier Sessink
Subject: Re: [Jailkit-users] Problem to establish a SFTP for windows
Date: Thu, 08 May 2008 22:59:54 +0200
User-agent: Thunderbird (X11/20080502)

yellow protoss wrote:
Dear Oliver,
I am pleased to confirm you the use of SFTP on a specific port. The sftp program was under a Linux system core, i.e. Debian stable. I would like to submit you the following output results that was given by the grep function, that you provided me today in order to give help in the installation of the sftp server. Unfortunately the syslog things is for me very unclear, and a step by step procedure would be very welcome. Every single parts of the Linux system are still for me not known in the deepest knowledge, unfortunately. The output hence is as follows (I would note that the /ho:... chrootusers/etc/passwd is contains like it should the jk_lsh now): # grep jk_ /var/log/* | grep 22 /var/log/auth.log:May 6 19:40:07 localhost jk_chrootsh[22869]: abort, path /home/chrootusers is setgid

fiorst fix this issue:
`chmod g-s /home/chrootusers/`

/var/log/auth.log:May 6 19:40:07 localhost jk_chrootsh[22869]: abort, path /home/chrootusers is not a safe jail, check ownership and permissions

could be the above issue, perhaps there are more issues

/var/log/auth.log:May 6 22:24:19 localhost jk_chrootsh[29119]: ERROR: failed to execute shell mkdir ~/logged;/bin/bash for user MIJNLOGINMAARHETISNIET (ZZZZ), check the permissions and libraries of /home/chrootusers/mkdir ~/logged;/bin/bash

this seems to be an issue with the shell of the user inside the jail here

/var/log/auth.log:May 8 22:06:36 localhost jk_lsh[20518]: jk_lsh version 2.1, started /var/log/auth.log:May 8 22:06:36 localhost jk_lsh[20518]: WARNING: user MIJNLOGINMAARHETISNIET (ZZZZ) tried to get an interactive shell session (/usr/sbin/jk_lsh), which is never allowed by jk_lsh

how dod you try to logon here? it seems you tried to ssh to the account, but you are using jk_lsh so ssh for an interactive shell is blocked.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]