Date: Wed, 9 Apr 2008 00:00:05 +0200 From: Wael Nasreddine <mla@nasreddine.com> To: FreeBSD Mailing Lists <freebsd-questions@freebsd.org> Subject: Screen inside Jails + su Message-ID: <20080408220005.GA23508@phoenix.nasreddine.info>
next in thread | raw e-mail | index | archive | help
--3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I have a FreeBSD server which is Jails based, I have created a special jail to run 3 rTorrent process for 3 users, I made all the permissions and added the users, then I launched manually (for testing purpose) these screen sessions for the 3 users using the below method: - jexec onto the jail. - su to the user: su -l wael - run a detached screen: screen -dmS Rtorrent I have a .screenrc for each user in place to run one command, rtorrent Now I have 2 questions: 1) How can I add this procedure to the jail startup?? 2) I can't attach the screen, everytime I try to I get an error: # su -l wael % screen -Dr Rtorrent Cannot open your terminal '/dev/ttyp6' - please check. What's going on? why can't I attach the screen session ?? Thanks :) --=20 Wael Nasreddine http://wael.nasreddine.com PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724 DE12 5565 3945 C8DD 18A2 /<o>\ I had a friend who was ready for a memory upgrade on his Mac notebook= , and he /<o>\ wanted to know how much "megaram" he needed. --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iEYEARECAAYFAkf76uUACgkQVWU5RcjdGKLnWQCgrlfxQIn3f77M8YhJL8Abrm/k GiEAoJblGGErQaim+b3FI1HsKE8zKBUt =MHtf -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080408220005.GA23508>