mkfs never asks if you are sure.
scripts to add and remove users often remove home directories. Sometimes with rm -rf ~username. Which is bad enough, but think about what happens when that user is root, and its home directory is /.
When you make a mistake in the pam.conf file, it's not a good idea to log out before you test whether or not you can log back in.
...