summaryrefslogtreecommitdiffstats
path: root/adduser/adduser.sh
diff options
context:
space:
mode:
authorKen Smith <kensmith@FreeBSD.org>2004-03-08 20:31:37 +0000
committerKen Smith <kensmith@FreeBSD.org>2004-03-08 20:31:37 +0000
commit8d5a556f139a260e3b175e1feeb12f919b1e988e (patch)
treea3abcb7190e947894eec0fe0d7e87b9740f4acf1 /adduser/adduser.sh
parentb27d926ad7395341206965caca6afdd6978787a6 (diff)
downloadpw-darwin-8d5a556f139a260e3b175e1feeb12f919b1e988e.tar.gz
pw-darwin-8d5a556f139a260e3b175e1feeb12f919b1e988e.tar.zst
pw-darwin-8d5a556f139a260e3b175e1feeb12f919b1e988e.zip
Shift file locking to source file instead of temp file. This fixes
data buffering issue that corrupts files if two pw(8)'s run at the same time as well as changing pw(8) so it uses the same locking mechanism as PAM, vipw(8), pwd_mkdb(8), etc. PR: bin/23501 Submitted by: Alex Kapranoff <alex (at) kapran (dot) bitmcnit (dot) bryansk (dot) su> Approved by: rwatson (mentor) MFC after: 5 days
Diffstat (limited to 'adduser/adduser.sh')
0 files changed, 0 insertions, 0 deletions