Solaris locked user

I came across a problem under solaris with mysql+PAM authentication where when creating a user via useradd, it locks them out by adding *LK* in /etc/shadow, shadow entries with NP worked fine.

once the user is created, type passwd -N username_here

you will now notice that /etc/shadow will have NP insted of *LK*.

Filed under: Solaris - No Pointless Response