From owner-freebsd-questions@FreeBSD.ORG Mon Jun 18 14:41:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD4CB106564A; Mon, 18 Jun 2012 14:41:39 +0000 (UTC) (envelope-from vladimir.budnev@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id AC7928FC12; Mon, 18 Jun 2012 14:41:38 +0000 (UTC) Received: by lbon10 with SMTP id n10so5383583lbo.13 for ; Mon, 18 Jun 2012 07:41:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=lv+DveBaBYnwPnL1HKXhUBLy0j7bf0LUG2E5ZGzWLSQ=; b=aMhlUtVzT+C261EUtBTRF8mr7htdWZfNR72K8ZFsGLbzbK0ApHp8FdFCMug3lbgknt mdr5MGjtpkCTDFfJ9HA7lSLDHm9/6+72SqtFXUXCrZgqhx8W7EdEI9ID4jA27inDrA/2 8vrlobSaWy0GQ3/ZvlX+lL/yLg798RzPcIiQEs7bPibt8vXV2R5ZL1rAJ4JVtThV0AYp UbSUOzW2BKY1pvKaZbVWMWm4zLUCVzC9N2qr0iNN1rcsHa3jhXTtMFj521REWrIz8Yzs L+LuOB1k+roLm1mIJh8D7B/qzI2Iqx6EW0QwiGbtoP6HUqB+gRG5dUiJzzQBbhPvrdVn 6Byw== Received: by 10.112.40.36 with SMTP id u4mr6587063lbk.70.1340030497617; Mon, 18 Jun 2012 07:41:37 -0700 (PDT) Received: from [192.168.66.106] ([80.253.27.98]) by mx.google.com with ESMTPS id hm7sm27567233lab.12.2012.06.18.07.41.35 (version=SSLv3 cipher=OTHER); Mon, 18 Jun 2012 07:41:36 -0700 (PDT) Message-ID: <4FDF3E1E.8040100@gmail.com> Date: Mon, 18 Jun 2012 18:41:34 +0400 From: Budnev Vladimir User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Chris Rees References: <4FDF2DCA.2020105@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-security@freebsd.org, freebsd-questions@freebsd.org Subject: Re: (Free 7.2) "su -l" didnt prompt password.Is it possbile? 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: Mon, 18 Jun 2012 14:41:39 -0000 18.06.2012 18:32, Chris Rees ???????: > > > On Jun 18, 2012 2:34 PM, "Budnev Vladimir" > wrote: > > > > Hello everyone. > > We'v noticed some strange situation. After reboot and login, system > didn't ask for password while switchig with su -l. > > > > In details, there was root login from terminal and one from ssh. > > Terminal login was directly as root(via ip-console), and ssh was as > user, then attemped switch to root with su -l, and there were NO > password request,no prompt at all. At the same time login from > terminal accepted root password, first I thought that means password > wasn't empty, but system even with empty password should print > "Password:"..and that time it was nothing absolultey. > > Empty password behaviour is for no prompt, so what you are seeing is > normal, and means that you did indeed have a empty password. > Interesintg could it be that master.passwd file corrupted (after power shutdown) and fsck corrected in background.. which resulted in such behaviour. The strange thing with possibly empty password is that login from ip-console accepted correct password. So dont sure about empty...It seems like su was accepting any password at that time. > > Check your logs very carefully over the past few weeks to make sure no > one has broken in. > Yeah, seems we are forced to mount disks to another system and check for changes in critical system tools. Argh....and then anyway redeploy system. > > Chris >