Using gnu screen as default login shell

tsreyb_at_
Date: 04/07/04


Date: Wed, 07 Apr 2004 20:31:18 GMT

I'm interested in using gnu screen
(http://www.gnu.org/software/screen/screen.html) as my default login shell
(ie, specifying it in the login shell field of /etc/passwd for my account)

Ideally, I'd like to have a new screen session created each time I login.

I've gone as far as to specify screen as my login shell in /etc/passwd and
actually perform a login with a screen session launched. So far, so good.

The problem is when I attempt a second login, screen by default will attach
itself to the first login screen session. That's not what I want - I'd
prefer seperate screen sessions for each login.

There appears to be a possible workaround using a combination of screen
command switches (-d -D -r or -R) which might help. However, I cannot (or
am not aware of how) specify command arguments via /etc/passwd. And these
options don't seem to have equivalents in .screenrc.

I'm using screen v 3.09.09 for Solaris.

Anybody else attempt the same setup and have success?

Thnaks in avdance,
-Bob
 Andover, MA



Relevant Pages

  • Using gnu screen as default login shell
    ... specifying it in the login shell field of /etc/passwd for my account) ... am not aware of how) specify command arguments via /etc/passwd. ... options don't seem to have equivalents in .screenrc. ...
    (comp.sys.sun.apps)
  • Re: Using gnu screen as default login shell
    ... I'd like to have a new screen session created each time I login. ... > options don't seem to have equivalents in .screenrc. ... screen escape keybinding from Ctrl-a to Ctrl-Space, ...
    (comp.sys.sun.apps)
  • Re: Using gnu screen as default login shell
    ... I'd like to have a new screen session created each time I login. ... > options don't seem to have equivalents in .screenrc. ... screen escape keybinding from Ctrl-a to Ctrl-Space, ...
    (comp.unix.shell)
  • Re: Forcing both password and PublicKey Authentication
    ... password for authentication? ... authenticates it hands off to login for an interactive login session. ... Can you specify a login shell if you trust the ...
    (comp.security.ssh)