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
0answers
14 views

mount a specific dev device under chroot

I want to use a specific disk under chroot. I know this command: mount -o bind /dev /mnt/chroot/dev This command populates all devices under chroot. But I want to use only few devices under ...
0
votes
0answers
29 views

Git pull in jailed environment

There is a user on my server which is jailed by SSH using ChrootDirectory to '/var/jail' This user is trying to use several git commands, but not all of them are working. The following message is ...
0
votes
0answers
25 views

Configuration step by step of Postfix with chroot with debian amd64

Please, I want to configure mailscanner with postfix, but in the documentation, they said "configure postfix with chroot", but i can't do it Is there any documentation that explain step by step for ...
0
votes
1answer
267 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
31 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
52 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 ...
0
votes
1answer
195 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
221 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
0answers
71 views

How to create user and set chroot jail using FTP?

I'm using an vsftpd server. I'd like to place a list of user in chroot jail in a particular folder. Referring to the configuration file, when a user is in the */etc/vsftpd.chroot_lis*t file and ...
0
votes
1answer
661 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
282 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 ...
3
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
131 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
391 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
3k 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
536 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
925 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 ...
7
votes
4answers
996 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 ...