Enable FTP for root user in Solaris 10

I am not able to get ftp working for Solaris 10 for root user. I am getting login failed error.
331 Password required for root.
Password:
530 Login incorrect.
Login failed.

Tried following things already.

  1. SFTP works ok, still would like to know why FTP is not working (curious).
  2. removed root from /etc/ftpd/ftpusers. restarted FTP using both svsadm and inetadm, but no luck.
  3. commented CONSOLE in /etc/default/login
  4. It works fine in solaris 9 by doing step 2,3. What am I missing with Sol10.
  5. Also, checked in /etc/ftpaccess file, no deny-uid or deny-gid defined.

Any help on this will be highly appreciated.

Try for other some user .. root is not allowed by default.

svcadm restart ftp

From the in.ftpd man page:

Read the man page for getusershell. You will probably need to create /etc/shells, populate it will the default list of shells and then add root's shell.

I don't think that you need /etc/shells. I commented out root user account in /etc/ftpd/ftpusers and login works. Currently file /etc/shells doesn't exist.

check services then after go for #vi /etc/ftpd/ftpusers
and place comment beside of root