jail

How to jail linux user

Is there something similar to chroot, but for users? We are about to grant access to our servers for a client and would like them to see only the directories we allow. ...

FreeBSD alternatives on GNU/Linux (without modifying linux kernel)

Dear friends, I am very much interested in freeBSD jail functionality and security, but still a novice to configure linux kernel with Linux V-server, openVZ. I know chroot is just good in functionality but security wise has loops. So can you guys suggest something more secure than chroot and not hard to configure. ...

C++: Any way to 'jail function'?

Well, it's a kind of a web server. I load .dll(.a) files and use them as program modules. I recursively go through directories and put '_main' functors from these libraries into std::map under name, which is membered in special '.m' files. The main directory has few directories for each host. The problem is that I need to prevent usa...

How to chroot Django

Can one run Django in a chroot? Notably, what's necessary in order to set up (for example) /var/www as a chroot'd directory and then have Django run in that chroot'd directory? Thank you - I'm grateful for any input. ...

FreeBSD Jail and SSH - /dev/tty: No such file or directory

When I try to connect through SSH from inside the JAIL I get this error: # ssh [email protected] ... debug1: read_passphrase: can not open / dev / tty: No such file or directory Host key verification failed. Outside JAIL everythng is working properly. Any ideas? Steps to reproduce: # jls JID IP Address Hostname ...

Is it possible to run dhcpd3 as non-root user in a chroot jail?

Hi everyone. I would like to run dhcpd3 from a chroot jail on Debian Lenny. At the moment, I can run it as root from my jail. Now I want to do this as non-root user (as "-u blah -t /path/to/jail" Bind option). If I start my process like this : start-stop-daemon --chroot /home/jails/dhcp --chuid dhcp \ --start --pidfile /home/jails/d...

Can't access to a user jailed by Jailkit

I am trying to jail a user, not permitting it to access anything besides it's home directory. I have installed this Jailkit, and jailed a user named customer01 as it described at Jailkit's official site. Seems I got everything correct besides some PAM configurations. When trying to switch the user to customer01 by su customr01 and typin...