Solaris 9 - Unable to access new server via telnet.

Posted on 2005-05-02
Last Modified: 2013-12-27

I can currently connect to the server using the serial port, however I am unable to access the server via telnet.

I created a new user and password with the cuar properties.

When ever I try to access the server via telnet, it states:  Sun OS 5.9, and then it prompts me with a username / password prompt.  

Is there a special permission I must provide a user to grant them telnet access?

Thanks for your help!
Question by:byd2k
    LVL 7

    Accepted Solution

    Do you have a firewall like IP Tables or Sunscrreen installed?

    In the /etc/inetd.conf file is there an entry for telnet?

    telnet  stream  tcp6    nowait  root    /usr/sbin/in.telnetd    in.telnetd

    Is the a # in front of this line if it exists?

    Does the user's home directory exist?

    Can you ping the machine from the machine you are telnetting to?

    If these machines are not on the same network segtment does the router(s) that connect them allow telnet to pass through?
    LVL 48

    Assisted Solution

    So after you get the login and password prompt, and you enter the information, what happens????  What messages do you get?
    LVL 5

    Expert Comment

    sounds normal to me.  Telnet does not login with a default username/password.

    Don't think sunscreen is the problem here as the login prompt is being displayed.

    we need more info as to what the problem actually is.

    Regards, Nisus
    LVL 7

    Assisted Solution

    He expected to not have to login in.

    I guess the question is then how to automate telnet.

    Here's one way to do that. Write this line in a file. Make it readable and accessible only by the user (since the password is in the script)

    sleep 5; echo <login>; sleep 5; echo <password>) | telnet <hostname or IP address>

    LVL 7

    Expert Comment

    Sorry .. missed a (

    (sleep 5; echo <login>; sleep 5; echo <password>) | telnet <hostname or IP address>
    LVL 5

    Expert Comment

    for seemless logging into a server you should use something like SSH.

    If security is not a problem, then using rsh will work.  A file called ~/.rhosts will need to be created with the hostname of the server the user will be coming in from.

    Also, if pshattuck's command does not work, you could use 'expect'.

    Regards, Nisus

    Author Comment

    Thank you all for your comments.  The problem worked itself out.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
    Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now