From owner-freebsd-questions@FreeBSD.ORG Sat Jul 7 23:35:58 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 D690616A41F for ; Sat, 7 Jul 2007 23:35:58 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 91AB813C455 for ; Sat, 7 Jul 2007 23:35:58 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1I7Job-0007YY-D7 for freebsd-questions@freebsd.org; Sun, 08 Jul 2007 01:35:49 +0200 Received: from nat-88-212-20-61.antik.sk ([88.212.20.61]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jul 2007 01:35:49 +0200 Received: from gamato by nat-88-212-20-61.antik.sk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jul 2007 01:35:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: martinko Date: Sun, 08 Jul 2007 01:35:40 +0200 Lines: 40 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: nat-88-212-20-61.antik.sk User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.4) Gecko/20070531 SeaMonkey/1.1.2 In-Reply-To: Sender: news Subject: Re: cannot log in via console, cannot su(1), only as root 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: Sat, 07 Jul 2007 23:35:58 -0000 martinko wrote: > hello list, > > i was updating sw configuration of my old computer and towards the end i > noticed i couldn't log in on local console other than root. i tried > remote ssh using public keys which worked but i found out su(1) to any > user except root does not work either. i've no idea how i could > possibly manage to "break" my system like this and unfortunately i need > to fix it by tomorrow. therefore i would really appreciate your prompt > hints as what to check etc. > some more details follow ... upgrade from 6.0-R to 6.2-R everything went ok .. i was doing changes in /etc based on my other computer settings i was working via ssh(1), therefore i haven't noticed when logging on console stopped working. what works: log in via ssh(1) using public/private keys log in on local console as root su(1) to root what doesn't work: log in via ssh(1) using password log in on local console as a normal user su(1) to a normal user (it even doesn't ask for password a throws "sorry") besides, as root i'm able to change passwords via passwd(1), but it doesn't help and a normal user cannot change their own password (old password check would fail). i ran vipw(8) and it doesn't seem to me there's something wrong with my files. any hints pls ?? m.