From owner-freebsd-isp Wed May 19 7:45:50 1999 Delivered-To: freebsd-isp@freebsd.org Received: from magicnet.magicnet.net (magicnet.magicnet.net [204.96.116.9]) by hub.freebsd.org (Postfix) with ESMTP id E9A13155AA for ; Wed, 19 May 1999 07:45:48 -0700 (PDT) (envelope-from bill@bilver.magicnet.net) Received: (from root@localhost) by magicnet.magicnet.net (8.8.6/8.8.8) with UUCP id KAA22993 for freebsd-isp@freebsd.org; Wed, 19 May 1999 10:45:03 -0400 (EDT) Received: (from bill@localhost) by bilver.magicnet.net (8.9.1/8.9.1) id KAA00446 for freebsd-isp@freebsd.org; Wed, 19 May 1999 10:31:56 -0400 (EDT) From: Bill Vermillion Message-Id: <199905191431.KAA00446@bilver.magicnet.net> Subject: Re: can't change user's password In-Reply-To: <3.0.1.32.19990519161751.02f235d4@nocnoc.mcnet.ch> from Benoit Rossier at "May 19, 1999 4:17:51 pm" To: freebsd-isp@freebsd.org Date: Wed, 19 May 1999 10:31:55 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Benoit Rossier recently said: > >Check the passwd file with "pwd_mkdb -C /etc/master.passwd". > > > I have checked the passwd file with this command and there is no > errors. It looks like a bug because the user who I can't change > the password can do a login and use his mailbox and ftp. > If I cut and paste the same line at the beginning of the master.passwd > file, I can change the password !! Ooh. Sometimes cut and paste can get you. Just a SWAG here, but check the entry or entries just before the non-login-able user. I've seen systems where blanks in password files kill you, as the system will think there is no further data past a certain entry. You didn't say how many people you have in the file, so maybe you hit up against a size limit, but I doubt that. -- bv@wjv.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message