problems after successful telnet

Posted on 2003-03-02
Medium Priority
Last Modified: 2011-04-14
there are few things i cannot do after successful connectivity between two computers through telnet.
1- i cannot enter by using root login and password.
2- there are few commands like "init" and "shutdown" i cannot use.
tell me can i do these things and what are the reasons i cannot do these things.
Question by:sumsam
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Author Comment

ID: 8051664
its a nice effort to make easy for people to gain knowledge

Accepted Solution

gbaughma earned 80 total points
ID: 8054961
Correct.  Linux, by default, won't let you log on as root if you telnet in.  There's a couple of ways to fix this.

1) Log on as yourself, then do a su    (superuser) then the root password.  You will essentially switch to root at that point.

2) Add your terminal (like pts/0) to /etc/securetty

THIS IS NOT RECOMMENDED, because you're saying that any incoming telnet connection is a secure one that root can log in with.  I use su instead.

Once you are root, init and shutdown will work.


Expert Comment

ID: 8055651
Depending on which Linux OS you use, you may still appear to be unable to run 'init' and 'shutdown' even after you 'su'.  The reason for this (if it happens) is that those commands will not be in your $PATH variable.

Instead of 'su', use 'su -' if you run into that problem.

Furthermore, it is highly recommended to bury telnet and use SSH instead; telnet sends username/password info over the wire in plain text.  SSH encrypts these.

Expert Comment

ID: 8059322
hi sumsam,
       gbaughma is right,just follow his step,i have tried that , it the same that u need to logg in as a user first, then su - root with root passwd
       by then u be in the Superuser mode , u can do anything from that
       Furtherthat,first u need to be in the server to set the Linuxconf to enable remote access if u want to shutdown from any window client or unix client.Being called as a Server,after setting for remote access is configured , u dun have to install monitor or keyboard , all u have to do is enable the webmin port 98 in the redhat verison (for other flavours . u needto checkout).
      Enjoy ! ..if u still face problem .referto manual from th LIBRARY...its free .      

Expert Comment

ID: 9077745
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month8 days, 8 hours left to enroll

764 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