On 08-07-2021 21:51, Andres wrote:
[root@localhost jail]# cat
/var/log/messages
Jul 8 15:14:32 localhost
systemd[1]: Started Session 46 of user test.
Jul 8 15:14:32
localhost systemd-logind[881]: New session 46 of user
test.
Jul 8 15:14:32 localhost jk_chrootsh[4088]: now entering
jail /home/jail for user test (1000) with arguments
Jul 8 15:14:32 localhost systemd[1]: session-46.scope:
Succeeded.
Jul 8 15:14:32 localhost systemd-logind[881]: Session 46
logged out. Waitingq for processes to exit.
Jul 8 15:14:32 localhost systemd-logind[881]: Removed
session 46.
your missing all the logging inside the jail. Either start
jk_socketd or change your syslog config to accept logging from
inside the jail. That way you will get a helpful message why
jk_lsh quits.
in your config files I see both /use/bin/bash and /bin/bash,
where is it inside jail?
Olivier
_______________________________________________