jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] is jailkit functioning on Ubuntu 16.04


From: Steven Varga
Subject: Re: [Jailkit-users] is jailkit functioning on Ubuntu 16.04
Date: Sun, 17 Jun 2018 22:20:02 -0400

Hello Oliver,

thank you for getting back to me. It was me! For no reason I typed the wrong path to shell: '/usr/sbin/bash' instead the correct '/bin/bash'. The suggested 'grep jk_ /var/log/*' gave it away at once;
Ubuntu 16.04 is indeed working as advertised, there is no problem with the 'su user_cocunt' either. For the record here is the error line showing the culprit: 

/var/log/auth.log:Jun 18 02:09:21 test jk_chrootsh[29777]: ERROR: failed to execute shell /usr/sbin/bash for user test03 (1006), check the permissions and libraries of /home/jail//usr/sbin/bash

Thank you for your help:
steven

On Sun, Jun 17, 2018 at 4:33 PM, Olivier Sessink <address@hidden> wrote:
On 17-06-18 16:24, Steven Varga wrote:
> Hello,
>
> followed instructions
> from https://olivier.sessink.nl/jailkit/jailkit.8.html was unable to
> su in to jailed user account on an updated Ubuntu 16.04 system.
>
> Jailkit is installed from source, no error messages during
> installation or during set up. Can you please confirm if jailkit is a
> functioning/maintained software package known to work on recent linux
> ( possibly debian derivan ) systems? and if you have met similar
> behaviour, possibly point out what I could be doing wrong.

can you check the errors in the logs?

grep jk_ /var/log/*

and can you  try to login without su as well (for example ssh to
localhost). su does something special (it doesn't do a login, but
executes the shell directly) so there is a workaround  in the
jk_chrootsh code. Perhaps the workaround is broken.

Olivier

--

--
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/



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


reply via email to

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