Is there a way to run pam-auth-update (or some equivalent command), non-interactively on Ubuntu 12.04. I'm trying to automate this process for a number of machines, and the curses interface is making it tedious (and prone to errors).
I'm interested particularly in the case where everything available needs to be activated, but more flexibility in selecting options would be great as well.