This is my first post in blog world.I wish it will be helpful to others.
This is about how to setup telnet in solaris 9
This is about how to setup telnet in solaris 9
The “inetd” demon runs the telnet server. By
default, the telnet is disabled in Solaris. It not recommended to login via
telnet in an unsecured environment.
Check
whether inet daemon is running.
ps -ef | grep inetd
Now
edit the file /etc/inet/inetd.conf. Find the following lines
# TELNETD - telnet server daemon
telnet
stream tcp6 nowait
root /usr/sbin/in.telnetd in.telnetd
Make
sure that “telnet” line is uncommented.
Now
open the file /etc/inet/services. Uncomment the line which says telnet
telnet
23/tcp
Now
you need to restart the inetd if it was running or you need to start it.
find
the process id using
ps -ef |grep inetd
kill -HUP <processid>
to
restart the daemon.
If
the service was not started initially, start it using the following command
/usr/sbin/inetd -s
check
with ps -ef whether the process is running. Now try to connect using telnet and
it should work fine.
The
telnet root login won’t work. To enable it make the changes given below.
Assign
644 permission to the file /etc/default/login
chmod 644 /etc/default/login
Edit
the file to find the line
CONSOLE=/dev/console
Comment the above line. Now the telnet should work fine for root login too. PLEASE NOTE
THAT ENABLING ROOT LOGIN IS UNSECURE FOR A PRODUCTION SYSTEM.
Gr8 you have done.
No comments:
Post a Comment