We have a system image which uses a default password for root. This should be changed, though I have a feeling not all users do this.
I know I can test login with pamtester:
# pamtester system-auth root authenticate Password:
It asks for the password on the command line. I want to automate this. Can this be done?