Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-16-2001, 01:59 PM
|
#1
|
LQ Newbie
Registered: Aug 2001
Location: UK
Distribution: RH7.1 from Linux123
Posts: 7
Rep:
|
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?
|
|
|
08-16-2001, 02:18 PM
|
#2
|
LQ Newbie
Registered: Aug 2001
Location: Canada
Distribution: RedHat
Posts: 14
Rep:
|
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  )
|
|
|
08-16-2001, 02:30 PM
|
#3
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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.
|
|
|
08-16-2001, 02:34 PM
|
#4
|
LQ Newbie
Registered: Aug 2001
Location: San Diego, CA
Distribution: Slackware 8
Posts: 7
Rep:
|
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.
|
|
|
08-17-2001, 06:02 PM
|
#5
|
LQ Newbie
Registered: Aug 2001
Location: UK
Distribution: RH7.1 from Linux123
Posts: 7
Original Poster
Rep:
|
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.
|
|
|
08-17-2001, 07:51 PM
|
#6
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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.
|
|
|
08-22-2001, 11:14 AM
|
#7
|
LQ Newbie
Registered: Jun 2001
Location: Austin, TX
Distribution: FC5/6
Posts: 23
Rep:
|
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 > 
|
|
|
08-23-2001, 01:55 PM
|
#8
|
LQ Newbie
Registered: Aug 2001
Location: Oregon Coast
Distribution: RH7.2
Posts: 27
Rep:
|
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.
|
|
|
08-23-2001, 02:05 PM
|
#9
|
LQ Newbie
Registered: Aug 2001
Location: UK
Distribution: RH7.1 from Linux123
Posts: 7
Original Poster
Rep:
|
Can I use SSH to log in from Windows 2000?
|
|
|
08-23-2001, 02:13 PM
|
#10
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Sure I see no problem in that. check out http://www.ssh.com/ for info on ssh.
|
|
|
08-23-2001, 02:26 PM
|
#11
|
LQ Newbie
Registered: Aug 2001
Location: Oregon Coast
Distribution: RH7.2
Posts: 27
Rep:
|
ssh in place of ftp
Hey, you can also use SSH in place of FTP... it is simply wonderful! LOL...
|
|
|
08-23-2001, 02:31 PM
|
#12
|
LQ Newbie
Registered: Aug 2001
Location: Oregon Coast
Distribution: RH7.2
Posts: 27
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 05:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|