jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] SuSE problem


From: Olivier Sessink
Subject: Re: [Jailkit-users] SuSE problem
Date: Mon, 04 Jun 2007 21:16:51 +0200
User-agent: Icedove 1.5.0.10 (X11/20070329)

Steve Follmer wrote:
Jun  4 14:37:29 suse jk_socketd[29683]: version 2.3, listening on socket
/home/sftpdom/dev/log with rates [512:2048]/10.000000
Jun  4 14:37:39 suse sshd[29691]: Accepted keyboard-interactive/pam for
djdh from 127.0.0.1 port 37327 ssh2
Jun  4 14:37:39 suse sshd[29697]: subsystem request for sftp
Jun  4 14:37:39 suse jk_chrootsh[29698]: now entering jail /home/sftpdom
for user djdh (1004)
Jun  4 06:37:39 suse jk_lsh[29698]: jk_lsh version 2.3, started
Jun  4 06:37:39 suse jk_lsh[29698]: the requested executable
/usr/lib/ssh/sftp-server is not found
Jun  4 06:37:39 suse jk_lsh[29698]: WARNING: user djdh (1004) tried to
run '/usr/lib/ssh/sftp-server', which is not allowed according to
/etc/jailkit/jk_lsh.ini

well, according to these logs you need to copy /usr/lib/ssh/sftp-server into the jail
`jk_cp -v /home/sftpdom /usr/lib/ssh/sftp-server`
and you need to edit /home/sftpdom/etc/jailkit/jk_lsh.ini so your user djdh is allowed to run this executable.

(the /etc/jailkit/jk_init.ini has defaults for Ubuntu/Debian, but the file needs some changes for suse)

regards,
        Olivier





reply via email to

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