Once again for the solaris: How to configure FTP/Telnet to login as root .

Note# THis is just for the practice, make sure that you NEVER configure your production servers for this type of login.

Configure FTP for root logins :

1) First remove the ‘root’ line from /etc/ftpusers.

2) Also, don’t forget to edit the file /etc/ftpaccess and comment out the ‘deny-uid’ and ‘deny-gid’ lines. If the file doesn’t exist, there is no need to create it.

3) If you are using Solaris 9 or Solaris 10, the ftp* files are located in /etc/ftpd.

Configure Telnet for root logins :

Simply edit the file /etc/default/login and comment out the following line like as :

# If CONSOLE is set, root can only login on that device.
# Comment this line out to allow remote login by root.
#
# CONSOLE=/dev/console