> -----Original Message----- > From: Ryan Tandy [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 01, 2006 9:58 PM > > For your situation, assuming I've interpreted it correctly, > you should > get the user to SSH into your box, set their shell in /etc/passwd to > /usr/bin/screen -S (something memorable) /bin/bash, and yourself run > 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'ing 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 down 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, with all my .bashrc settings, etc) whenever I connect either via console or ssh. I also would like to automatically re-attach to that screen whenever I login 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ÆVID -- gentoo-user@gentoo.org mailing list