macOS / binaries /

vipw

/usr/sbin/vipw
Edit the password file

The vipw utility edits the password file after setting the appropriate locks, and does any necessary processing after the password file is unlocked. If the password file is already locked for editing by another user, vipw will ask you to try again later.

source: man