Most Linux distros I've used have a
passwd program which can be used to do things like forcibly expire passwords, or lock them to temporarily prevent password-based login. OS X does have a
passed program, but from its manual page, it doesn't seem to have any of these features. The
Users & Groups preference pane doesn't seem to offer anything either save for a
Reset Password… button, which is really not what I'm looking for.
How do I temporarily disable a user's password in OS X in such a way that I can reenable it without actually changing it?