LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-15-2005, 03:36 AM   #1
rogk
Member
 
Registered: Feb 2004
Location: Finland
Distribution: Mandrake 10.0
Posts: 70

Rep: Reputation: 15
Jail and chroot


Hello,

I used this tutorial to install Jail to my Gentoo -> http://gentoo-wiki.com/HOWTO_Jail. I tried it few times. Those base commands like cp,mkdir,vi etc. worked well. But with irssi I got this error "setupterm() failed for TERM=xterm: 0 Can't initialize screen handling, quitting." and more "You can still use the dummy mode with -d parameter". If I'll try "irssi -d" then I'll get "Can't open perl script "-e": Permission denied".
And with "screen" I get error "Must be connected to a terminal.". I hope that somebody could help with these informations.
 
Old 10-15-2005, 07:02 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
See if copying the /usr/share/terminfo/x dir to the jail helps.
 
Old 10-16-2005, 02:20 AM   #3
rogk
Member
 
Registered: Feb 2004
Location: Finland
Distribution: Mandrake 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
Thank you, but not helped. Screen gives me error "Must be connected to a terminal." and irssi "Can't open perl script "-e": Permission denied" and this "Segmentation fault (core dumped)". There is no X in the Gentoo.
I have tried with google, but I haven't got solved these problems. I hope that somebody who has done chroot before could help me with this. The tutorial, which I mentioned above, was little bit sort and I haven't found better one.

Last edited by rogk; 10-16-2005 at 02:52 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Chroot jail Gimpy Linux - Software 10 05-07-2010 01:30 PM
Chroot jail pachanga Linux - General 12 09-26-2008 05:15 AM
chroot jail etc. f1uke Linux - Security 5 08-24-2005 03:12 AM
chroot 'jail' -- opinions? mcleodnine Linux - Security 16 12-01-2003 09:32 PM
chroot jail simon Linux - Security 3 08-05-2001 08:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration