Are passwords stored in the SAM (formerly PUPM) database encypted or plaintext?
This is the same database that is used for the ENTM (Enterprise Management).
The passwords are encrypted.
If you want to see them you can execute the following against the ENTM database:
SELECT NEW_PASSWORD, OLD_PASSWORD from ACCOUNT_PASSWORD;
SELECT PASSWORD FROM ACCOUNT_PASSWORD_HISTORY;