Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

root or equivalence from telnet

Posted on 1998-03-19
7
Medium Priority
?
333 Views
Last Modified: 2011-09-20
I am using redhat linux 5. I need a root (or equivalence user) to log in from telnet. Linux, by default, does not allow root or equivallences to log in remotely. How do I change this?

Avi
0
Comment
Question by:avi_shava
[X]
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
  • 3
  • 2
  • 2
7 Comments
 
LVL 2

Accepted Solution

by:
jeffa072897 earned 40 total points
ID: 1636854
Look in /etc for a file securetty. This file controls where root can log in from.
Add line(s) for each psuedo tty(telnet) you want root to get access from. The first connection is ttyp0. Toy can have one line for each psuedo tty you want root to be able to login.
I have a line with ttyp0 and whenever I telnet and I get
commection p0 I can log in as root. Any other telnets will deny root as a login.
Any other connection you log in to (ttypX) you will have to
do an su to become root.

0
 
LVL 2

Author Comment

by:avi_shava
ID: 1636855
This server is running one network card connected to the internet. How can I know what connection it is?
0
 
LVL 2

Expert Comment

by:jeffa072897
ID: 1636856
There is no real way to tell.
When you telnet to the box you will see on the line above the
login prompt the connection you're on in parentesis ().
This can vary depending on how many people telnet to the box.
If you are the only one telneting then it will always be ttyp0.
Otherwise, you should get a rough guess for the number of telnet'ers and put enough ttypX's in securetty to cover them all. This is a potential security problem. But, if you have at least ttyp0 you should then be able to su to root from any telnet session.

0
Independent Software Vendors: 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!

 
LVL 2

Author Comment

by:avi_shava
ID: 1636857
thanks
0
 

Expert Comment

by:jimman
ID: 1636858
Can u login to the machine as other user's name? then, u can use 'su' to become a super user.
0
 

Expert Comment

by:jimman
ID: 1636859
Can u login to the machine as other user's name? then, u can use 'su' to become a super user.
0
 
LVL 2

Author Comment

by:avi_shava
ID: 1636860
thanks, your solution was good, but I asked a friend, and he told me to use su... so i used it (i am using this way for more than a month), but thanks anyway for bothering you again after the question was closed.


Avi
0

Featured Post

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

604 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