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.
|
|
11-20-2001, 08:14 PM
|
#1
|
LQ Newbie
Registered: Jul 2001
Location: Sunnyvale, CA
Posts: 11
Rep:
|
Root Telnet Access
I am a bit confused. I need to allow telnet access to root from one of my RH 7.1 boxes. Now I have removed /etc/securetty, I have flushed ipchains. I can telnet as another user and then su - root but telnet directly as root always fails. Am I missing anything.
Please let me know.
thanks..
... Atul
|
|
|
11-20-2001, 08:21 PM
|
#2
|
Member
Registered: Nov 2001
Location: Kansas
Distribution: rh71/2, mandrake81
Posts: 53
Rep:
|
sounds like a 'feature'. probably not a good idea to have a box open to root telnet for security reasons. im sure there is a way to allow it, but i am not the one to ask.
jason
|
|
|
11-21-2001, 11:24 AM
|
#3
|
Member
Registered: Oct 2001
Location: Columbus, Ohio
Distribution: all.. but mainly SuSe--- looks like it changing to Red Hat
Posts: 119
Rep:
|
I would sugest that you NOT add root to the telnet access.. i dont know how to.. I dont even want to know how to..
but to solve your problem youcan probobly just login as USER1 and then su to root..
this should give you the same env as if you just logged in as root.
Another suggestion would be to start to use ssh instead of telnet... (if your going from a Linux box that is) Same thing applies.. you cant login as root directly.. you still have to su to root....
Last edited by BaerRS; 11-21-2001 at 11:26 AM.
|
|
|
11-21-2001, 02:24 PM
|
#4
|
Member
Registered: Jul 2001
Location: Utah
Distribution: RedHat v7.3, OpenBSD 3.3, FreeBSD 5.0
Posts: 327
Rep:
|
yes, for the sake of getting used to it, DO NOT use telnet, use SSH. Even if it's on your isolated internal network, use SSH.
The part that may have your root access blocked it a PAM module. All logins are compared to configs in PAM before login is granted, and I think that's a PAM related policy in effect for you. But never you mind telnet boy, get on wit SSH!
|
|
|
11-21-2001, 02:40 PM
|
#5
|
Member
Registered: Nov 2001
Location: Hi Hat KY USA
Distribution: RedHat, Mandrake
Posts: 63
Rep:
|
I didn't think that you could telnet in as root. If you INSIST on using telnet I believe that you must login in as username the $su - . To give you root access.
But forget all that USE ssh. With ssh you can login directly as root. I recomend that you turn off root access and still login in as username then $su - .
|
|
|
11-21-2001, 11:32 PM
|
#6
|
Member
Registered: Apr 2001
Location: Bombay ( INDIA )
Distribution: RedHat 7.x
Posts: 218
Rep:
|
Securetty!
Hi ,
Try adding the lines pty/0 to the file securetty.
Check out the file /etc/login.defs and also the various files under the directory /etc/pam.d ..... this files control various things such as those associated with PAM , LOGIN, etc.
Though i have never tried it myself, but u can check out the file
/etc/pam.d/login ( take BackUp of your files before making any changes!!!!) .
You might see something like :
auth requisite pam_securetty.so
Comment out the line and restart network services and check if u are able to telnet as root .
Regards ,
Xanthium.
|
|
|
All times are GMT -5. The time now is 03:00 AM.
|
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
|
|