I am trying to use bash indirection in Solaris 11 express to change the password for a user. The code I am using is
$ passwd testuser << MARKER
> testpassword
> testpassword
> MARKER
When I run this, I still get prompted for a password on the console. The same code works on Ubuntu 10.04.
I tried to run the same thing in bash, sh with same results. Is there something Solaris specific that I need to be doing?