LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-16-2001, 01:59 PM   #1
Lemon Songster
LQ Newbie
 
Registered: Aug 2001
Location: UK
Distribution: RH7.1 from Linux123
Posts: 7

Rep: Reputation: 0
Cannot telnet into RH7.1 as root


I am using telnet to login to my RH7.1 linux box. When I try as a mere mortal user it works fine. When I try as root I get a Login incorrect message. Any ideas?
 
Old 08-16-2001, 02:18 PM   #2
fed007
LQ Newbie
 
Registered: Aug 2001
Location: Canada
Distribution: RedHat
Posts: 14

Rep: Reputation: 0
check this

There should be a file /etc/securitty

From what I know there must be a single line that says:

console


That Should solve your problem , if you still have trouble login with some user and type: su

you will then be prompted for a password.

Hope that helps

Fed007

(busy waitin for my own reply )
 
Old 08-16-2001, 02:30 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 271Reputation: 271Reputation: 271
you cannot telnet into linux as root, you either need to su once in. i recommend using ssh though as its more secure and would not recommending su into root on a regular telnet session as its a big security risk.
 
Old 08-16-2001, 02:34 PM   #4
BadSeed
LQ Newbie
 
Registered: Aug 2001
Location: San Diego, CA
Distribution: Slackware 8
Posts: 7

Rep: Reputation: 0
security is set that you can not remotely log in as root, for a few reasons, one so people do not crack your box externally with a root login.

have you tried ssh as normal user, and then su to root?

i do not use telnet really, but see if you can telnet into it and then su up to root. that will work but login as root does not.

Under your users you can add the option for root to telnet into your machine, i think its there. I do not use redhat but i have, there is a tool that shows all users and what privs they have, you will notice root does not have that right, but others do.

Sorry i can not give you exactly what file i am unsure. but try the su command to get to root.
 
Old 08-17-2001, 06:02 PM   #5
Lemon Songster
LQ Newbie
 
Registered: Aug 2001
Location: UK
Distribution: RH7.1 from Linux123
Posts: 7

Original Poster
Rep: Reputation: 0
A dumb question

I'm a newbie so I can ask...

If it's such a big security issue to prevent Harry Hacker logging in as root, why is it not a security issue to prevent Harry logging in as harry and then doing su.
 
Old 08-17-2001, 07:51 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 271Reputation: 271Reputation: 271
Because the little penguin says so.....


Good question, its just I guess most people like to do some type of admin while remotely and that is just one of the easy ways of doing it, but I wouldn't, if your wanting to do it, use ssh instead, much more secure than just telnet.
 
Old 08-22-2001, 11:14 AM   #7
ektoric
LQ Newbie
 
Registered: Jun 2001
Location: Austin, TX
Distribution: FC5/6
Posts: 23

Rep: Reputation: 15
Re: A dumb question

Quote:
Originally posted by Lemon Songster
I'm a newbie so I can ask...

If it's such a big security issue to prevent Harry Hacker logging in as root, why is it not a security issue to prevent Harry logging in as harry and then doing su.
Here one cop-out answer, which might be a real solid answer:
A) There's really really bad people that are out on the net.
B) There's just bad people on your machine.

By allowing root telnet, you'll only have one layer of security from the RRB. By not allowing root telnet but only su, then the RRB people have to somehow get an account before hacking your su password layer of security.

Disabling root telnet blocks the RRB.. su blocks the JB. But then again, that's just on the telnet front.. the RRRB people will try more than port 23 >
 
Old 08-23-2001, 01:55 PM   #8
Teller_30
LQ Newbie
 
Registered: Aug 2001
Location: Oregon Coast
Distribution: RH7.2
Posts: 27

Rep: Reputation: 15
Talking as to why

What you may be missing in the previous answers is this... Telnet does not use any encryption. Everything is sent over the net in a plain text kinda way. Therefore, if you login as root, someone sniffing your IP addy will get your root password.. well, then they have root and you might as well take the box to their house and set it up on their desk for them.

SSH encripts everything it sends. So, if you log in as root, anyone sniffing your IP is getting a long string that is not breakable.

SSH is really easy to install.. so kill telnet on your box and use SSH only.
 
Old 08-23-2001, 02:05 PM   #9
Lemon Songster
LQ Newbie
 
Registered: Aug 2001
Location: UK
Distribution: RH7.1 from Linux123
Posts: 7

Original Poster
Rep: Reputation: 0
Can I use SSH to log in from Windows 2000?
 
Old 08-23-2001, 02:13 PM   #10
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 271Reputation: 271Reputation: 271
Sure I see no problem in that. check out http://www.ssh.com/ for info on ssh.
 
Old 08-23-2001, 02:26 PM   #11
Teller_30
LQ Newbie
 
Registered: Aug 2001
Location: Oregon Coast
Distribution: RH7.2
Posts: 27

Rep: Reputation: 15
ssh in place of ftp

Hey, you can also use SSH in place of FTP... it is simply wonderful! LOL...
 
Old 08-23-2001, 02:31 PM   #12
Teller_30
LQ Newbie
 
Registered: Aug 2001
Location: Oregon Coast
Distribution: RH7.2
Posts: 27

Rep: Reputation: 15
Cool a forgotten Detial

Ah... btw... OpenSSH is already on your box... if you went with a standard install of the distrib... but I would suggest upgrading with the non-comercial license from ssh.com.

I like the way it works a little better.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No telnet from LAN into RH7.1 box mcbleyerveld Linux - Networking 4 08-27-2004 09:42 AM
RH7.1 - pop3 - xinetd - Can't telnet 110 from network elthespian Red Hat 1 01-27-2004 11:47 AM
Telnet problems with RH7.2 puneet7 Linux - Networking 0 04-18-2002 07:05 PM
enable telnet on RH7.1 systray Linux - Newbie 1 03-22-2002 12:34 PM
Ping But No Telnet Access Using RH7 london1970 Linux - Networking 1 08-23-2001 09:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration