From memory (I don't have a Solaris box in front of me at the moment), I
think it has to do with the fact that running a command instead of a
shell leaves SSH without a terminal device to connect to and grab the
input from. I got around this by not using the passwd command, but
instead I created a shell script which takes the password as input and
changes the shadow entry.

You can also use the -t flag to ssh to force tty allocation and run the command. It's necessary for using passwd and some other programs, like screen.

-f
http://www.blackant.net/
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to