[Top][All Lists]

[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: Thu, 30 Apr 2009 09:09:20 +0200
User-agent: Thunderbird (X11/20090318)

Charley Marsh wrote:
> My user account is able to log in, and gets put into the jail correctly,
> and has the default shell set to /bin/bash. However even while the user
> is logged in and executing commands, jk_list only shows the user
> "nobody" and the jail directory as /etc/jailkit instead of /xjail. I was
> thinking there may be in ini or conf file somewhere that specifies where
> the jail is. How does jk_list know where the jail is?

it reads the info from /proc

if process XYZ is jailed, /proc/XYZ/root is a symlink to that jail.

b.t.w. jk_list needs root privileges to list all processes.


reply via email to

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