Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2017 20:56:18 +0000
From:      ellen.neal@guideproweb.com
To:        freebsd-questions@freebsd.org
Subject:   Industry/Technology Users
Message-ID:  <001a114028e2701bdd054d128e20@google.com>

next in thread | raw e-mail | index | archive | help
DQoNCkhpLA0KDQpJcyBpdCB0cnVlIHRoYXQgeW91IGFyZSBzZWFyY2hpbmcgZm9yIGZvY3VzZWQg
Y29udGFjdCByZWNvcmRzIHdpdGggZW1haWwsDQp0ZWxlcGhvbmUgYW5kIGZpbmlzaCBwb2ludHMg
b2YgaW50ZXJlc3Q/IFdlIGNhbiBwcm92aWRlIGN1c3RvbWl6ZWQgY29udGFjdA0KbGlzdHMgYmFz
ZWQgb24gaW5kdXN0cnksIHRpdGxlcywgZ2VvZ3JhcGh5LCBjb21wYW55IHNpemUsIHRlY2hub2xv
Z3kNCnNwZWNpZmljIHVzZXJzIGV0Yy4gVGhlIGZvbGxvd2luZyBhcmUgYSBjb3VwbGUgZm9jdXNl
ZCBvbiByZWNvcmRzOg0KDQoq4oCiIFRlY2hub2xvZ3kgVXNlcnMgcmVjb3JkcyoNCg0KKuKAoiBJ
VCBEZWNpc2lvbiBNYWtlcnMgbGlzdCoNCg0KKuKAoiBNYW51ZmFjdHVyaW5nIEluZHVzdHJ5IEV4
ZWN1dGl2ZXMgTGlzdCoNCg0KKuKAoiBDLUxldmVsIEV4ZWN1dGl2ZXMgbGlzdCoNCg0KKuKAoiBG
aW5hbmNpYWwgU2VydmljZXMgSW5kdXN0cnkgRXhlY3V0aXZlcyoNCg0KKuKAoiBSZXRhaWwgSW5k
dXN0cnkgRXhlY3V0aXZlcyBMaXN0Kg0KDQoq4oCiIFBoYXJtYWNldXRpY2FsIEluZHVzdHJ5IEV4
ZWN1dGl2ZXMgbGlzdC4qDQoNCirigKIgRG9jdG9ycyBhbmQgUGh5c2ljaWFucyBsaXN0LioNCg0K
KuKAoiBUZWxlY29tIEluZHVzdHJ5IEV4ZWN1dGl2ZXMgTGlzdC4qDQoNCirigKIgSFIgRXhlY3V0
aXZlcyBMaXN0LioNCg0KKuKAoiBIZWFsdGhjYXJlIEluZHVzdHJ5IEV4ZWN1dGl2ZXMgbGlzdCBh
bmQgc28gZm9ydGguKg0KDQpJdCB3b3VsZCBiZSBpZGVhbCBpZiB5b3UgbGV0IG1lIGtub3cgeW91
ciBvYmplY3RpdmUgY3JpdGVyaWEgYW5kIEknbGwgc2VuZA0Kb3ZlciBhIGNvdXBsZSB0ZXN0IHJl
Y29yZHMgZm9yIHlvdXIgYXVkaXQuDQoNCk11Y2ggb2JsaWdlZCB0byB5b3UgYW5kIEkgYW50aWNp
cGF0ZSBnb3Qgbm90aWZpY2F0aW9uIGZyb20geW91Lg0KDQpSZXNwZWN0cywNCg0KRWxsZW4gTmVh
bA0KDQoNCg0KDQoNCg0KDQpUbyBleHBlbCBmcm9tIHRoaXMgbWFpbGluZzogYW5zd2VyIHdpdGgg
dGl0bGUgYXMgIlByb2hpYml0Ig0KDQoNCg0KDQo=
From owner-freebsd-questions@freebsd.org  Thu Apr 13 21:35:46 2017
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10DCCD3C36C
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Thu, 13 Apr 2017 21:35:46 +0000 (UTC)
 (envelope-from mexas@bristol.ac.uk)
Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com
 [IPv6:2a00:1450:400c:c09::235])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 98E43D4C
 for <freebsd-questions@freebsd.org>; Thu, 13 Apr 2017 21:35:45 +0000 (UTC)
 (envelope-from mexas@bristol.ac.uk)
Received: by mail-wm0-x235.google.com with SMTP id w64so120778496wma.0
 for <freebsd-questions@freebsd.org>; Thu, 13 Apr 2017 14:35:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=bris-ac-uk.20150623.gappssmtp.com; s=20150623;
 h=date:from:message-id:to:subject:reply-to;
 bh=SV+UUXI7JN6R05pCJEeSyAAiUOQl9hKmjXxUUe7r1t8=;
 b=jBjbo2h40b+J2ItYGqraGwJLeXCtatgTz7UNGsTKVvXY/XFej7lYmmhvWB5Bjmf2LE
 /OuxBxr7r7lnoQ31VmO4WmcD93FQFQsmDOcAY3yPDtymjqyEskfVfpfZokQzT+RHIZnB
 PRFcmmFIa5zzZ9pg/Iyo8Y73cE1OuDm5cLoPhMw5WzXXiLVbvseehXcdw9jWI7F0xDyT
 uEruQtYFR8W9RNajWhwe3qMj/nU7vwiMwo2WG/u+CIcWr11Yw4cwVIm5nLR/8laaWqY/
 L6FKmIVF2GnM/SIxYlUhRE0cwij4G0qiZpGuuShPT/p2Ww4XU8PHPaMv6vP9FnUvmLJk
 E92g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:from:message-id:to:subject:reply-to;
 bh=SV+UUXI7JN6R05pCJEeSyAAiUOQl9hKmjXxUUe7r1t8=;
 b=Xxt/kjigGi404D+mJ7Qjk1zgbj499wyC4bF+4ptjWuZQTQ6DJySMQRqlvtZuOBsO3O
 gObdtepGzQ1fnENrkzsSjmfccQl54gPHq8bWF4YtzhSoWs58CpDGb+pD9cp4pHPvKnex
 4oO3tvjvwcUirphWcNqT0lTFP7+n2y76sPi2Xh7AYcYymFqljkUqJIOLc34IPfcwY5GK
 Hq3wounclBUYofX65C3rtVAkVAmBmtOFH1O3++wG+0bHlXnIvsM5MJkEoTBSmvn4h/sf
 uw2R/rUfw45SNTF/w5A/FvdBmV9va6t5v9K9QO10/7TyREk9cO2H4ni3+LFy3b/7pgHk
 8Zew==
X-Gm-Message-State: AN3rC/7DyL/BXTyExVZE8ZOeFrWC5nwkZcq1oUuu7C7JhJMOz8IFyi8f
 c5vSLT6D0IH4R8LKYy8=
X-Received: by 10.28.129.147 with SMTP id c141mr22445745wmd.98.1492119343667; 
 Thu, 13 Apr 2017 14:35:43 -0700 (PDT)
Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk.
 [137.222.170.4])
 by smtp.gmail.com with ESMTPSA id u63sm317544wmu.22.2017.04.13.14.35.43
 for <freebsd-questions@freebsd.org>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 13 Apr 2017 14:35:43 -0700 (PDT)
Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1])
 by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id v3DLZgVB008710
 for <freebsd-questions@freebsd.org>; Thu, 13 Apr 2017 22:35:42 +0100 (BST)
 (envelope-from mexas@mech-as222.men.bris.ac.uk)
Received: (from mexas@localhost)
 by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id v3DLZgS2008709
 for freebsd-questions@freebsd.org; Thu, 13 Apr 2017 22:35:42 +0100 (BST)
 (envelope-from mexas)
Date: Thu, 13 Apr 2017 22:35:42 +0100 (BST)
From: Anton Shterenlikht <mexas@bris.ac.uk>
Message-Id: <201704132135.v3DLZgS2008709@mech-as222.men.bris.ac.uk>
To: freebsd-questions@freebsd.org
Subject: cannot change password for an ordinary user
Reply-To: mexas@bris.ac.uk
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Apr 2017 21:35:46 -0000

On 11.0-RELEASE-p9, passwd command
seems to exit with no error for an ordinary user,
but the passwd is not updated, i.e. after passwd
has exited, this user can login only with the old
password, not the new.

I found this thread:
https://forums.freebsd.org/threads/49802
which suggested to use pwd_mkdb.

I decided to check first, and got:

# pwd_mkdb -C /etc/passwd
pwd_mkdb: corrupted entry
pwd_mkdb: at line #3
pwd_mkdb: /etc/passwd: Inappropriate file type or format


Should I be worried?
And how can change my ordinary user's password?


I can change the root password fine, tried and checked.

Thanks

Anton



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001a114028e2701bdd054d128e20>