[GLLUG] Screen as a login shell

Charles Ulrich dincht at securenym.net
Wed Jan 12 08:29:00 EST 2005


Bruce Smith wrote:
>>Has anyone ever tried to use /usr(/local)/bin/screen as their login
>>shell on a remote server? Would it work? Any potential drawbacks?
> 
> 
> I'd have to see your passwd entry, but I doubt it'd work.
> First because screen by itself because it's not a shell.
> Second, even if you ran it with bash as a parameter, what 
> would you escape back to when you did the CTRL-A+D  ?
> 
> If I want to turn my current shell into a screen shell, I run
>   screen bash --login
> Then I can escape back to my primary shell and logoff, 
> while leaving my screen shell running (and reconnect later).

 From Asenchi and your responses, I guess the best way to achieve what 
I'm trying to do (mandatory screen sessions) is to just put the screen 
command in .profile or something like that.

Charles
-- 
http://bityard.net



More information about the linux-user mailing list