jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] Using "rootsh" with jailkit


From: Olivier Sessink
Subject: Re: [Jailkit-users] Using "rootsh" with jailkit
Date: Fri, 01 May 2009 17:09:08 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

Charley Marsh wrote:
> Good morning!
> Well, I compared the nsswitch.conf files both in the jail and outside
> and they were identical. I also went ahead and turned off RADIUS
> authentication to see if it was affecting this and it didn't seem to
> make any difference. I did find that I had overlooked a step during the
> install - I didn't put the jailkit startup script in the appropriate
> directory. After doing that, jk_list does appropriately show my jailed
> user and the correct jail directory. Unfortunately neither the "script"
> nor "rootsh" programs are working inside the jail but I can't tell that
> this has anything to do with jailkit and seems to be application
> specific. Jailkit is a great program!
> 
> FYI - Both programs cause the shell to fork and create a new entry under
> /dev/pts but this process seems to fail inside the jail. I tried
> mounting a devpts file system at /xjail/dev/pts but that did not seem to
> work. I'll keep banging on it. Thanks again for your help!

I'm pretty sure this can be done. 'screen' also requires a pty and I
have jailed screen some time ago. I think it required both proc and a
bind mount of /dev/pts in the jail. Not sure.

gr.
        Olivier




reply via email to

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