[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Res: Solaris 10 - login shell error

From: cesarmartins_2004-linux
Subject: Res: Solaris 10 - login shell error
Date: Thu, 4 Sep 2008 08:33:53 -0700 (PDT)

Hummm... thanks! this way works fine!!

Thanks again!

----- Mensagem original ----
De: Tom Scogland <address@hidden>
Para: Andy Harrison <address@hidden>
Cc: Screen Users <address@hidden>
Enviadas: Quinta-feira, 4 de Setembro de 2008 12:04:56
Assunto: Re: Solaris 10 - login shell error

Perhaps 'shell -$SHELL' would be more what you're after?

On Thu, Sep 4, 2008 at 9:58 AM, Andy Harrison <address@hidden> wrote:
Hash: SHA1

On Tue, Sep 2, 2008 at 12:34 PM,   wrote:
> Complementing the previous message.
> After some tests, I believed this is a Bug.
> When executed with option "-s -" the "sh" shell are executed , and not the
> shell on the /etc/passwd.
> After remove the ".screenrc" I execute:
>     SunOS cmartins:~> screen -s -
>     SunOS \u:\w> ps
>        PID TTY         TIME CMD
>       6859 pts/5       0:00 ps
>       6852 pts/5       0:00 sh
>     SunOS \u:\w> echo $$
>     6852

I don't believe it's a bug. If you consult the manpage, it says:

  * If the command begins with a '-' character, the shell will
  * be started as a login-shell.

So you've got the preceding '-' character, but no command
following it.

- --
Andy Harrison
public key: 0x67518262

Version: GnuPG v1.4.5 (GNU/Linux)


screen-users mailing list

AKA:Tom Scogland
I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world.
-Albert Einstein

Novos endere├žos, o Yahoo! que voc├¬ conhece. Crie um email novo com a sua cara ou
reply via email to

[Prev in Thread] Current Thread [Next in Thread]