diff options
author | cjc <cjc@FreeBSD.org> | 2002-03-18 02:22:53 +0000 |
---|---|---|
committer | cjc <cjc@FreeBSD.org> | 2002-03-18 02:22:53 +0000 |
commit | ed673bb689afdf58f832ec1485843b0bdf894d11 (patch) | |
tree | ae80c74d62d2ac0aef09586a5659dcc1230c0a08 /sbin | |
parent | 54cd426b9006a7048342920f73050a1dd9994cd0 (diff) | |
download | FreeBSD-src-ed673bb689afdf58f832ec1485843b0bdf894d11.zip FreeBSD-src-ed673bb689afdf58f832ec1485843b0bdf894d11.tar.gz |
It was possible for an unprivileged user to tie up the password
information (no one else can vipw(8), chpass(1), or even passwd(1)),
either on purpose or by accident, until an administrator manually
intervened. Instead, do not lock the master.passwd file while a user
is editing his information. But once we go to write the new
information, check that the modified user's information has not
changed in the password database since we started. Abort the changes
if it has.
Add a $FreeBSD$ to pw_copy.h.
PR: i386/35816
Obtained from: NetBSD
MFC after: 1 week
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions