From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 00:40:32 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 167E916A4CE for ; Sun, 20 Feb 2005 00:40:32 +0000 (GMT) Received: from sdf.lonestar.org (mx.freeshell.org [192.94.73.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7595943D31 for ; Sun, 20 Feb 2005 00:40:31 +0000 (GMT) (envelope-from tiberius@sdf.lonestar.org) Received: from sdf.lonestar.org (IDENT:tiberius@sverige.freeshell.org [192.94.73.4]) by sdf.lonestar.org (8.13.1/8.12.10) with ESMTP id j1K0dJP9015195 for ; Sun, 20 Feb 2005 00:39:19 GMT Received: (from tiberius@localhost) by sdf.lonestar.org (8.13.1/8.12.8/Submit) id j1K0dJKu007011 for freebsd-questions@freebsd.org; Sat, 19 Feb 2005 17:39:19 -0700 (MST) Date: Sat, 19 Feb 2005 17:39:19 -0700 From: Matt Rechkemmer To: freebsd-questions@freebsd.org Message-ID: <20050220003919.GA22570@sdf.lonestar.org> References: <20050219120108.F32F516A4DB@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050219120108.F32F516A4DB@hub.freebsd.org> User-Agent: Mutt/1.4.2.1i Subject: Re: freebsd-questions Digest, Vol 88, Issue 68 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 00:40:32 -0000 On Sat, Feb 19, 2005 at 12:01:08PM +0000, freebsd-questions-request@freebsd.org wrote: > > Lately my FreeBSD 5.3R system has been running fine. Tonight I decided to > load the mysql 4.1.x port. After loading it, glancing at mysql-server.sh, and > firing it up, things went haywire. > > At the time I had two root sessions open, as well as two normal users. My > normal users started getting permission denied for everything, new users are > unable to login receiving this via SSHd: > > No supported authentication methods left to try! > > Root cannot query any user information. /etc/passwd and /etc/master.passwd > look fine. MySQL.d is NOT running, it never did startup, and now I am > effectively locked out of the system if I logout. > > It's obviously authenticated since /var/log/auth.log reports: > Feb 19 04:51:17 hybrid sshd[79901]: Accepted keyboard-interactive/pam for > theuser from 172.17.1.11 port 2101 ssh2 > > Any help is GREATLY appreciated, Google has so far yieled nothing on this > topic. > > Thanks! > > Matt Rechkemmer > tiberius@trancell.org A bit more detail: Normal users can no longer login, they receive: No supported authentication methods left to try! I can still login with root and toor. I've tried everything I know of, short of rebooting it. If you guys have any insight, it's greatly appreciated, as I'm at a total loss. With the normal user that is currently logged in (before this occured), here are some examples of the odd behavior: captkirk@hybrid:~$ /bin/ls -bash: /bin/ls: Permission denied root@hybrid:/etc/rc.d# /bin/ls -al /bin/ls -r-xr-xr-x 1 root wheel 22784 Nov 4 19:24 /bin/ls root@hybrid:/etc/rc.d# finger captkirk; grep captkirk /etc/master.passwd finger: captkirk: no such user captkirk::1005:1005:default:0:0:Matt Rechkemmer:/home/captkirk:/bin/tcsh When users get the "No supported authentication methods" error, I do see valid authentications in /var/log/auth.log. So this behavior makes no sense, to me anyways. Any ideas?