A chroot jail is the common expression used to describe a section of a file system that is sectioned off for a particular user.

learn more… | top users | synonyms

0
votes
1answer
32 views

How to Access `/dev` From Inside a `chroot` Jail?

     How can one access /dev from within a chroot jail? I'd like to know how to do this on OS X v10.11.5 'El Capitan,' in particular. I've already tried to create an ...
0
votes
1answer
24 views

How to enable shortcuts (copy-paste) inside chrooted java app?

I instaled java-based app Lotus Notes inside ubuntu 12 chroot on debian host systems. I run it with enabled xhost+ on based system How to enable Ctrl+C, Ctrl+V shortcuts inside Lotus Notes. The ...
1
vote
0answers
13 views

Does Freenas require each plugin to be under a jail?

I know that Jails are like VMs running under Freenas. And I have Plex and Transmission installed using the Plugin feature on Freenas. Question is: Can I have it that both of these apps installed in ...
2
votes
1answer
73 views

Freebsd 10.2 - multiple interfaces in the jail

My old freebsd 8.0 has the following configuration (in the /etc/rc.conf) for the xx jail: jail_xx_hostname="xx.example.com" jail_xx_rootdir="/jails/xx" #networking setup jail_xx_ip="sis0|1.2.3.4,re0|...
0
votes
1answer
101 views

how can I jail user in a directory in ubuntu?

I have installed vsftpd in ubuntu. I have created a user in name of ftpadmin by command sudo useradd ftpadmin and I have set its password too, I also have created a home directory for it using ...
1
vote
0answers
21 views

1 chroot sftp user that is able to traverse all other chroot sftp users files/folders

I have a chroot environment that I have setup on CentOS 6. We have users for all of our trading partners and I would like to create an internal user for another department that can sftp in and only ...
1
vote
2answers
1k views

Chroot ssh user to home folder results in Connection refused

I'm trying to give someone ssh access to a (Ubuntu 14.04) server I've got, but I want to limit them to their own home folder. So I'm trying to follow this tutorial. I first created a user (sudo ...
0
votes
1answer
58 views

Wrong ownership when SFTP files

I have successfully setup jailed SFTP access using ChrootDirectory. Match Group sftponly ChrootDirectory %h X11Forwarding no AllowTCPForwarding no ForceCommand internal-sftp I ...
0
votes
1answer
104 views

Cannot jail ssh account using ChrootDirectory

I am trying to jail my accounts into their home directory. I tried to do: Match group accounts X11Forwarding no AllowTcpForwarding no ForceCommand internal-sftp ChrootDirectory %h ...
1
vote
1answer
399 views

Using sftp ChrootDirectory while giving other users write access to the same directory

I need to allow an untrusted user SFTP access to a particular directory under his webserver root. I don't want him to access any other parts of the system (including the rest of the web), so I thought ...
1
vote
1answer
672 views

Create shared folder for VSFTP jailed users in Linux

I have a thing I want to do. I have set up a VSFTP server, and put its users in "jail", so they cannot look anywhere else except for their home directory. However, now I want to do something more. ...
0
votes
1answer
797 views

CentOs vsftpd - Users not being jailed

I have 3 users created and I have installed and configured (or so I thought) VSFTP to jail users to their own home directory but it's not working they can browse right to the route folders. What am I ...
2
votes
1answer
431 views

copied chroot jail directory cant be chrooted

I am developing a package so when users login through ssh they are forwarded to a chroot jail. The jail directory is created via makejail program on building process. But when the jail package copy ...
4
votes
2answers
3k views

Jail user to home directory while still allowing permission to create and delete files/folders

I'm trying to give a client SFTP access to the root directory of their site on my server (Ubuntu 10.10) so they can manager their website themselves. While I have been successful in jailing a user to ...
1
vote
0answers
143 views

Limiting users/groups to certain ports through SSH, and chroot jail if necessary

I have a private linux box (Ubuntu 10.04) which is running various applications, many of which I access remotely using local forwarding. Now I would like to provide access to a third party, however I ...
0
votes
1answer
427 views

Normal permissions for running mysql

I'm trying to run mysqld inside chroot environment. Herez the situation. When I run mysqld as root, I can connect to my databases. But when I run mysql using init.d scripts, mysql gives me an error. ...
1
vote
2answers
4k views

Failed to su after making a chroot jail

On a 64 bit CentOS host I am using script make_chroot_jail.sh to put a user in a jail, not permitting it to see anything expect it's home at /home/jail/home/user1. I did it typing this: sudo ./...
2
votes
2answers
846 views

chroot for unsecure programs execution

I have never set-up a chroot-jailed environment before and I am afraid I need some help to do it well. To explain shortly what this is all about: I have a webserver to which users send python scripts ...
10
votes
1answer
1k views

How to “jail” Java applications in OS X?

Is it possible to "jail" Java applications? My bank has an applet that requests "unrestricted access" to my computer. That makes me feels very uneasy. There should be a way to tell the java ...
8
votes
4answers
1k views

Is it safer to use a chroot jails, a jail shell or a combination?

A friend of mine has a xandros-based Acer netbook, and has been looking to get some remote administration and help from me while she is travelling around the world. I've set up an account on her ...