jailkit-users
[Top][All Lists]
Advanced

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

RE: [Jailkit-users] Unable to start any programs


From: Kreycik, Sean
Subject: RE: [Jailkit-users] Unable to start any programs
Date: Thu, 31 May 2007 10:06:25 -0700

Hi Mats,

You have to make sure that sshguest has uid 1002 in both /etc/password
and /home/jail/etc/passwd

-Sean

-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Mats Ahlgren
Sent: Thursday, May 31, 2007 12:17 AM
To: address@hidden
Subject: [Jailkit-users] Unable to start any programs

Hello,

I followed the tutorial at
http://olivier.sessink.nl/jailkit/howtos_sftp_scp_only.html

The result is that attempting to ssh/sftp/anything yields the following
results:
- I login successfully, see the welcome message, and get immediately
disconnected (disconcerting, since I didn't allow ssh...)
- the following is logged in /var/log/messages

---------- begin logs (/var/log/messages) -----------
Accepted keyboard-interactive/pam for ssh guest from 127.0.0.1 port
45083 ssh2

sshd[25734]: subsystem request for sftp

jk_chrootsh[25735]: now entering jail /home/jail for user sshguest
(1002)

jk_lsh[25735]: jk_lsh version 2.3, started

jk_lsh[25735]: cannot find user name for uid 1002: Success
----------- end logs -----------------

How do I fix this?

Also, I assume one has to run jk_socketd as root? (above logs are with
jk_socketd running -- didn't see anything, and I don't have an auth.log;
running Suse 10.2)

Thanks,
Mats


_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users





reply via email to

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