Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-07-2002, 06:38 PM   #1
LQ Newbie
Registered: Feb 2002
Posts: 3

Rep: Reputation: 0
Question can't login through telnet but can on console

This may be a bit esoteric for the newbie forum but I am a Linux newbie. We are putting the first Linux machine (RedHat 7.2) on a Sun/Solaris network. We use NIS for logins. I have the new machine using NIS just fine (passwd, automounting, hosts, etc.). The problem is that although I can login on the console using an account that comes from NIS I can't through telnet. The only way I can telnet in is to use a local, non-root account. I understand why I may not be able to login as root through telnet (many systems do not allow non-console access to root) but not why I can't telnet in using a NIS account.

I am sure there is some switch or config somewhere to fix this but I can't find it.

Thanks in advance.
Old 02-18-2002, 11:27 AM   #2
LQ Newbie
Registered: Aug 2001
Location: High Wycombe
Distribution: Redhat
Posts: 18

Rep: Reputation: 0
I always login to my 5.2 machine through the telnet port as root. I eventually found out how it could be done. Edit the /etc/pam.d/login file and comment out the line with "" by placing a # at the begining of the line. Then try to login as root from telnet.
Old 02-18-2002, 12:05 PM   #3
Senior Member
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
telnet is usually disallowed for root access by default. it can be a major security risk.


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
How to run a program on the console over telnet jhayes Linux - Software 4 04-07-2004 02:37 PM
Telnet doesnt allow login ??? someonenearHim Linux - Networking 2 02-10-2004 01:46 PM
Telnet console problem RajaRC Linux - General 4 01-13-2004 02:54 AM
Can't login with TELNET for ROOT sjcollier Linux - Newbie 5 08-17-2003 03:07 PM
Console / Telnet login problem jdlangdon Linux - General 0 12-13-2000 12:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:23 PM.

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