From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Foos8-0001CZ-9I for garchives@archives.gentoo.org; Fri, 09 Jun 2006 21:50:28 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k59LkIEr022954; Fri, 9 Jun 2006 21:46:18 GMT Received: from outbound.mailhop.org (outbound.mailhop.org [63.208.196.171]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k59LYYlC025067 for ; Fri, 9 Jun 2006 21:34:34 GMT Message-Id: <200606092134.k59LYYlC025067@robin.gentoo.org> Received: from c-24-16-16-159.hsd1.wa.comcast.net ([24.16.16.159] helo=daevid.com) by outbound.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.51) id 1Foocj-000GZT-Um for gentoo-user@lists.gentoo.org; Fri, 09 Jun 2006 17:34:34 -0400 Received: from red.lockdownnetworks.com ([67.105.193.226] helo=gabriel) by daevid.com with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.54) id 1Fooch-0005i6-9K for gentoo-user@lists.gentoo.org; Fri, 09 Jun 2006 14:34:33 -0700 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 24.16.16.159 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: DAE51D From: "Daevid Vincent" To: Subject: RE: [gentoo-user] viewing consoles remotely Date: Fri, 9 Jun 2006 14:34:06 -0700 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcaGBKOjpbyOSe30TAiunLv+MSlz9AGBzvjQ In-Reply-To: <447FC543.5050701@gmail.com> X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k59LYYlC025067 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k59LkIFA022954 X-Archives-Salt: 51bbac82-c371-4ea4-87b6-1955e817eaef X-Archives-Hash: e2ab4e517692da819cf695f14e8c7b9e > -----Original Message----- > From: Ryan Tandy [mailto:tarpman@gmail.com]=20 > Sent: Thursday, June 01, 2006 9:58 PM >=20 > For your situation, assuming I've interpreted it correctly,=20 > you should=20 > get the user to SSH into your box, set their shell in /etc/passwd to=20 > /usr/bin/screen -S (something memorable) /bin/bash, and yourself run=20 > sudo screen -x (something memorable) to view it. I tried this suggestion, but it didn't work. I couldn't login. :( I would LOVE to make screen (and BASH) my default shell. I'm always ssh'i= ng into my servers and getting upset if the connection goes down between me = and them, or I start an emerge and then forgot that I can't actually shut dow= n my host computer as that will kill the ssh and therefore the emerge. I want screen to start up automatically as my default shell (as bash, wit= h all my .bashrc settings, etc) whenever I connect either via console or ss= h. I also would like to automatically re-attach to that screen whenever I lo= gin again. Is this possible? And if so, what do I need to put in /etc/password or wherever. I could put it in a .bash* file, but that seems hackish (given = the idea in Ryan's quote above). D=C6VID =20 --=20 gentoo-user@gentoo.org mailing list