Re: ERRATA : interactive and login shells: bug or design decision ?
From: Greg Wooledge (wooledg_at_eeg.ccf.org)
Date: 03/24/05
- Previous message: ervanborren-ext_at_airfrance.fr: "Réf. : sftp hangs on tru64 5.1A"
- In reply to: Cristian Zoicas: "ERRATA : interactive and login shells: bug or design decision ?"
- Next in thread: Robert Hajime Lanning: "Re: ERRATA : interactive and login shells: bug or design decision ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 24 Mar 2005 12:16:23 -0500 To: Cristian Zoicas <zoicas@ictp.trieste.it>
On Thu, Mar 24, 2005 at 02:44:42PM +0100, Cristian Zoicas wrote:
> When I execute: <ssh user@somesite.com>, I get a login shell, but
> when I execute: <ssh user@somesite.com command>, command does not run
> under a login shell.
Correct.
> The question is the same: Is this behaviour a bug or a design decision ?
It's intentional.
> If it is a design decision, then what are the reasons to have it like this.
Because login shells are only used when you log in. Firing off a
background task should not welcome you to the system, show you the
messages of the day, inform you whether you have new mail, give you a
random fortune cookie, etc. That sort of stuff should only be done when
you log in.
- Previous message: ervanborren-ext_at_airfrance.fr: "Réf. : sftp hangs on tru64 5.1A"
- In reply to: Cristian Zoicas: "ERRATA : interactive and login shells: bug or design decision ?"
- Next in thread: Robert Hajime Lanning: "Re: ERRATA : interactive and login shells: bug or design decision ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|