remote root login fails/ "#console= "set in /etc/default/login

Remote root login to solaris 10 (patch level May or so this year) fails. You are prompted for the password three times and afterwards "Permission denied ..." is returned. Commented out the "CONSOLE=/dev/console" entry in /etc/default/login file like described in the man page for "login" in http://docs.sun.com/app/docs/doc/816-5165/6mbb0m9kp?a=view

But this does not change anything - even after a reboot ;-(

- An application from Veritas requires remote root login.

Any idea how to fix this?

[518 byte] By [jens_bach] at [2007-11-26 10:51:23]
# 1
how are u trying to connect ? if via ssh then check for the PermitRootLogin variable in /usr/local/etc/sshd_config file it should be set to yes.
Sunseshu at 2007-7-7 3:04:09 > top of Java-index,General,Sys Admin Best Practices...
# 2
Yes, we use ssh. Setting "PermitRootLogin" to "yes" in /etc/ssh/sshd_config solved the issue. Many thanks for your hint Sunseshu.
jens_bach at 2007-7-7 3:04:09 > top of Java-index,General,Sys Admin Best Practices...
# 3

At first I fail to remote log in with telnet, after I comment out #console...

it worked for awhile then it utomatically log me out. When I try to log back in then system response as connection refuse... I goes to computer room to login then do svcad enable telnet then I can login again then again it log me out then I fail to login again. I goes back to computer room then login to check. There is nothing wrong with the system. I remote login again then work then it log me out again.

This is new installed server (sunfire x2100). Any suggestion

tpmc at 2007-7-7 3:04:09 > top of Java-index,General,Sys Admin Best Practices...