[PLUG] To login or to not login?
Derek Loree
drl at drloree.com
Wed Mar 12 17:43:01 UTC 2003
On Wed, 2003-03-12 at 13:34, Ed Sawicki wrote:
>
> Now wait. I don't think that's what's meant by a login shell. When
> you login to a system, the shell that gets run by the login program
> is your login shell. If you later invoke a shell for some other
> reason, it's not a login shell. Once you're logged in and at a shell
> prompt, enter "bash" or "sh". You've spawned a shell but it's not a
> login shell. Some of the scripts that get executed by a login shell
> are not executed by a normal invocation of the shell.
>
> Gee, if I'm wrong about this, many of my students will be ticked off.
> But, I've been wrong before - there was that time in 68...
This makes more sense than my half cocked explanation. You have to
admit though, it is tough to login in using /dev/null as a shell.
Derek Loree
More information about the PLUG
mailing list