Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2001 21:21:58 +0200 (ora legale Europa occ.)
From:      Cleto Pescia <cleto@eurisco.com>
To:        Mike Meyer <mwm@mired.org>
Cc:        <questions@freebsd.org>
Subject:   Re: login -p "username" after upgrade to 4-STABLE
Message-ID:  <Pine.WNT.4.33.0108132117080.-385193@venus.e-link.ch>
In-Reply-To: <15223.59099.994241.357335@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> > Sorry to bother you again with this, but I wasn't able to find out a
> > reason for this strange behaviour: Since I cvsupped a 4.2-RELEASE box to
> > 4-STABLE, and after a successfull "make world", I keep seeing a
> > login -p <username>
> > in the process listing given by "ps ax".
> > I last did make world on Sunday and now the box reports "4.4-PRERELEASE".
> >
> > Has anyone ever noticed something like that? Someone suggested there may
> > be a Trojan version of login, but I can now exclude that for sure.
>
> I'm not sure when the change happened, but getty now execs login with
> the -p flag.

Thanks for the info. But I still a little bit confused: As far as I
understand, -p means login does NOT discard any previous environment.
What isn't clear to me is why login is showing up in the output of ps ax
at all.
How does that relate to the addition of -p?


Cleto


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.WNT.4.33.0108132117080.-385193>