screen-users
[Top][All Lists]
Advanced

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

Re: Solaris 10 - login shell error


From: Tom Scogland
Subject: Re: Solaris 10 - login shell error
Date: Thu, 4 Sep 2008 11:04:56 -0400

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

On Thu, Sep 4, 2008 at 9:58 AM, Andy Harrison <address@hidden> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
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


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: http://getfiregpg.org

iD8DBQFIv+mkNTm8fWdRgmIRAujpAKCYFEouR1Ycvauyn7hqQAvi267A6QCdHN9+
/7Tm2UGoqydWqacjH5U1l1U=
=yLI6
-----END PGP SIGNATURE-----


_______________________________________________
screen-users mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/screen-users



--
-N
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

reply via email to

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