From owner-freebsd-questions Wed Aug 1 19:38:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtprelay3.adelphia.net (smtprelay3.adelphia.net [64.8.25.8]) by hub.freebsd.org (Postfix) with ESMTP id E261137B403 for ; Wed, 1 Aug 2001 19:38:28 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from twin.scraemondaemon.org ([24.49.117.213]) by smtprelay3.adelphia.net (Netscape Messaging Server 4.15) with ESMTP id GHF60R01.1DF; Wed, 1 Aug 2001 22:38:51 -0400 Received: (from ipt@localhost) by twin.scraemondaemon.org (8.11.3/8.11.3) id f722a2h34977; Wed, 1 Aug 2001 22:36:02 -0400 (EDT) (envelope-from ipt) Date: Wed, 1 Aug 2001 22:36:02 -0400 From: User & Ian Patrick Thomas To: Cleto Pescia Cc: freebsd-questions@freebsd.org Subject: Re: ps ax shows login after 4.2-RELEASE -> 4-STABLE upgrade Message-ID: <20010801223602.A34895@localhost> References: <20010728193032.A4973@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from cleto@eurisco.com on Sun, Jul 29, 2001 at 10:55:03AM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG As it was put forth by Cleto Pescia on Sun, Jul 29, 2001 at 10:55:03AM +0200... > Hello, > > > I also have login -p followed by my username. I am not, or have ever > > run telnetd. I installed on July 4th, and cvsupped to 4.x Stable on the > > 16th. > > I cvsupped the sources on July 21st, and I also do not run telnetd. > > > I have not yet applied the patch for telnetd because I don't use > > that daemon. Something worth finding out is the file the system consults > > to get the default flags for the login command when a user logs in. If -p > > is included, then I think we're safe. > > Which file should I check? > -p only means login is not discarding any previous environment settings. > What makes you think that such a setting is safe? Perhaps because so > nothing else can set variables such as PATH, EDITOR, etc.? > > Anyway, thanks for your reply. > > Cleto > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message After just reinstalling 4.3 Release, I noticed that this login -p is no longer present. I'm not sure which file to check in order to find out what flags login uses on startup. Maybe start a thread with this as the question. I know I would be interested. Sorry I couldn't help out more. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message