From owner-freebsd-questions@FreeBSD.ORG Fri Sep 9 13:29:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC1E6106564A for ; Fri, 9 Sep 2011 13:29:56 +0000 (UTC) (envelope-from lars@larseighner.com) Received: from mail.team1internet.com (mail.team1internet.com [216.110.13.10]) by mx1.freebsd.org (Postfix) with ESMTP id AE2E18FC17 for ; Fri, 9 Sep 2011 13:29:56 +0000 (UTC) Received: from larseighner.com (unknown [216.110.13.101]) by mail.team1internet.com (Postfix) with SMTP id 0F97916B57A; Fri, 9 Sep 2011 08:29:53 -0500 (CDT) Received: by larseighner.com (nbSMTP-1.00) for uid 1001 lars@larseighner.com; Fri, 9 Sep 2011 08:29:18 -0500 (CDT) Date: Fri, 9 Sep 2011 08:29:13 -0500 (CDT) From: Lars Eighner X-X-Sender: lars@noos.6dollardialup To: Paul Keusemann In-Reply-To: <4E6A0C1F.7090505@visi.com> Message-ID: References: <4E6A0C1F.7090505@visi.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Can't log in as toor since package update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2011 13:29:56 -0000 On Fri, 9 Sep 2011, Paul Keusemann wrote: > I use the toor login on my FreeBSD systems to log in with the korn shell. > Since August 22, When I try to log in as toor or even when I try to "su - > toor", I get logged in as root. For example: > > ushers# ssh -l toor woodstock > > Password: > > Last login: Fri Sep 9 06:30:23 2011 from 172.16.175.216 > > Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 > > The Regents of the University of California. All rights reserved. > > FreeBSD 8.2-RELEASE-p1 (WOODSTOCK) #1: Mon Jul 11 09:05:07 CDT 2011 > > woodstock# who am i > > root 0 Sep 9 07:46 This has been entirely normal since I have been using toor - sometime around 5.X. Toor is root. If you are not in your korn shell, you should check that it is install and the path is correct in passwd. If you have been running at toor with the thought that somehow it is better than running as root, you are mistaken. You should have a normal user account to use for most everyday tasks. You can put that user in the wheel group if you want to be able to su to root. > woodstock# su - toor > > woodstock# who am i > > root 0 Sep 9 07:47 > Unfortunately, I haven't tried to log in since a package update I did around > August 22, so I didn't notice this problem until now. Does anybody have any > idea what might be causing this? The fact that user 0 is root to the system. Calling it toor to use an alternate shell does not change that. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266