From owner-freebsd-questions Thu Mar 21 19:55:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from chen.org.nz (adsl-210.54.19.51.quicksilver.net.nz [210.54.19.51]) by hub.freebsd.org (Postfix) with ESMTP id 14BFC37B41A for ; Thu, 21 Mar 2002 19:55:41 -0800 (PST) Received: (from jonc@localhost) by chen.org.nz (8.11.6/8.11.6) id g2M3tWd10236; Fri, 22 Mar 2002 15:55:32 +1200 (NZST) (envelope-from jonc) Date: Fri, 22 Mar 2002 15:55:32 +1200 From: Jonathan Chen To: dfisher Cc: freebsd-questions@FreeBSD.ORG Subject: Re: strange process for root login Message-ID: <20020322155532.A10174@grimoire.chen.org.nz> References: <3C9B5C3C@zathras> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3C9B5C3C@zathras>; from dfisher@vt.edu on Thu, Mar 21, 2002 at 07:25:15PM -0500 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 On Thu, Mar 21, 2002 at 07:25:15PM -0500, dfisher wrote: > Hello, > I happened to log into my machine as root today and run a ps. > I was just checking so see if I had any run away processes. > I noticed that my login was shown as "login -p \^[[s". > The process parent is 1, but it still seems strange. > I logged in as another user and the process list showed what I would expect > for that user. (login -p username). > Does anyone know what might be causing this? During the login session you happened to hit a function key (F7?), and it tried using that as your login name. The login failed, you then typed in "root" and its password and you're now in. The login process, however, started with the function-key username and that is what you see when you do a "ps". -- Jonathan Chen ---------------------------------------------------------------------- The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message