Hello,
I'm trying to set up a chroot jail for a user in /var/jail, following this guide http://allanfeid.com/content/creatin...ail-ssh-access.
I've got everything set up, but upon attempting to log in with the user, I get:
Code:
/var/jail/bin/bash: No such file or directory
Connection closed.
I've verified that /var/jail/bin/bash does exist, which is the bash that I want the user t
I have some difficulties to start 2 jails on the same host. When the first jail is running, i can access this jail by ssh and http (this jail running nginx). But when i start the second jails, i lost first jail connection and i can't join the jail from ext.
I posted on the freebsd forums. I've been trying all night and I've made some progress but still I can't connect to the internet from my freebsd jail.
Please just give me a hint here.
I get the following inside the jail if I do nslookup www.google.com :
;; connection timed out; no servers could be reached
So, I can't seem to install stuff inside the jail.
If the users logs in, he starts in / of the chroot (Which is /var/jail on the real machine). I would like him to start in his home-dir. Also, he seems not to load any of his profile-files (.bash.rc etc). I followed this tutorial to create the chroot environment.
I have created a chroot jail, but now I want to be able to create a link within the jail which links outside of the jail. Is this possible?
I have my root user and another user testuser. Now in the .bashrc of testuser, there are some aliases like la for ls -a. But when I login to testuser and try running la, it gives me the error:
-sh: la: not found
Even when I try to find $HOME, it says Permission denied (?)
This is slowing down my work!! Help!
i am jailing a user "testuser" from jailkit
so i was able to do all things correctly by help
http://www.marthijnvandenheuvel.com/2010/03/10/how-to-create-a-chroot-ss...
http://olivier.sessink.nl/jailkit/howtos_ssh_only.html
so all steps work correctly
now when i log in through ssh
i got this error
bash: groups: command not found
how do i fix it .i have google it & d
I have a problem using view with MySQL server 5.0 (5.0.92)
I cannot use view with a user granted like that :
GRANT USAGE ON *.* TO 'testuser'@'' IDENTIFIED BY PASSWORD '**********';
GRANT ALL PRIVILEGES ON `testuser`.* TO 'testuser'@'';
I can create view, but when I try to select in, I have this messages :
ERROR 1356 (HY000): View 'testuser.v' references invalid table(s) or column(s) or funct
I am using Ubuntu 12.10, Apache2.2, PHP-FPM. My aim is to set up a working (free) shared hosting system, that means I want to create new Linux users and jail (equals to chroot, I guess) them into their home directories so they absolutely won't have permission to touch the main file system or other users' files.