|
From: | John Stille |
Subject: | Re: [Jailkit-users] Error in sftp scp setup |
Date: | Sun, 19 Mar 2006 08:40:12 -0800 (PST) |
I am running centos 4.2 I recieve the following errors in my jailkit /var/log/messages file:
Mar 19 01:02:49 ls4 sshd(pam_unix)[16325]: session opened for user test_user by (uid=0)
Mar 19 01:02:49 ls4 jk_chrootsh[16326]: now entering jail /home/test_user for user test_user (503)
Mar 19 06:02:49 ls4 jk_lsh[16326]: jk_lsh, started
Mar 19 06:02:49 ls4 jk_lsh[16326]: WARNING: user test_user (503) tried to run '/usr/libexec/openssh/sftp-server', which is not allowed according to /etc/jailkit/jk_lsh.ini
Mar 19 01:02:49 ls4 sshd(pam_unix)[16325]: session closed for user test_user
The contents of my /etc/jailkit/jk_lsh.ini file is:
[test_user]
paths= /usr/bin, /usr/lib/
executables= /usr/bin/scp, /usr/lib/sftp-server
allow_word_expansion = 0
The contents of my /home/test_user/etc/jailkit/jk_lsh.ini file is:
[test_user]
paths= /usr/lib/
executables= /usr/lib/sftp-server
allow_word_expansion = 0
[test_user]
paths= /usr/bin
executables= /usr/bin/scp
allow_word_expansion = 0
Any ideas would be great. Thank you in advance.
Yahoo! Mail
Use Photomail to share photos without annoying attachments.
[Prev in Thread] | Current Thread | [Next in Thread] |