925c6f17f2
We had a (long) discussion about this in #NetBSD-code and the consensus was that /tmp should always be sticky (+t), and as such it is safe to create the temporary files for chpass(1) in there. We added a check to guarantee this (and bail out otherwise) and now temporary files are created in /tmp, not filling up /etc. Thanks to rivo nurges et al.