Hi,
I`ve just made a jail environment for users, using clues from:
http://www.jmcresearch.com/projects/...ies_setup.html
There was no problems until I tried to install the
screen in the jail.
The "screen" command gives an error:
Code:
Must be connected to a terminal.
I`ve found the information that, a good idea is to mount the /proc folder into the jail. So, I did it.
Code:
mount -t proc proc /home/users/chroot/proc
After that I have other error:
Code:
Cannot open your terminal '/dev/pts/1' - please check.
The file`s permissions are rather OK.
Code:
reeaver@alpha:~$ ls -la /dev/pts/1
crw--w---- 1 reeaver tty 136, 1 May 6 23:13 /dev/pts/1
(chmod 766, 777 doesn`t help)
Command
w gives something like this:
Code:
reeaver@alpha:~$ w
23:32:05 up 21 min, 0 users, load average: 0.00, 0.00, 0.01
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
I`ve found no information at google how to solve this problem.
Any ideas?
Slackware 10.2, Kernel 2.4.32-grsec