summaryrefslogtreecommitdiffstats
path: root/chpass/util.c
diff options
context:
space:
mode:
authorCrist J. Clark <cjc@FreeBSD.org>2002-03-18 02:22:53 +0000
committerCrist J. Clark <cjc@FreeBSD.org>2002-03-18 02:22:53 +0000
commitf51ea5a6dc09ca726b14a65d08ee2496cb81c117 (patch)
tree8cec45bbb7c84f57abf64bb0014b19524fa22395 /chpass/util.c
parent18a996f84742152003f9358a7078921d43450ef5 (diff)
downloadpw-darwin-f51ea5a6dc09ca726b14a65d08ee2496cb81c117.tar.gz
pw-darwin-f51ea5a6dc09ca726b14a65d08ee2496cb81c117.tar.zst
pw-darwin-f51ea5a6dc09ca726b14a65d08ee2496cb81c117.zip
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 'chpass/util.c')
0 files changed, 0 insertions, 0 deletions