LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-09-2003, 12:45 PM   #1
MacDschie
LQ Newbie
 
Registered: May 2003
Location: Mannheim, Germany
Distribution: Debian
Posts: 4

Rep: Reputation: 0
Question telnet: DISallow root access


Hi there.

I have a problem with a LFS (Linux From Scratch) system i recently set up. If I use telnet to log on over network, I can do that as root. I have already tried to change the /etc/securetty and to comment out ALL entries but I can still login as root on every terminal.
Are there some telnet daemons which use other config files?

I know that telnet is unsecure but I can't replace it by ssh for the moment.
 
Old 05-09-2003, 04:02 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
hmmm...I always thought root login was disable by default on telnet. What does your /etc/pam.d/login file look like?
 
Old 05-14-2003, 01:43 PM   #3
MacDschie
LQ Newbie
 
Registered: May 2003
Location: Mannheim, Germany
Distribution: Debian
Posts: 4

Original Poster
Rep: Reputation: 0
Well, you won't believe it, but that hint solved the problem. There was a comment before a line which referred to pam_securetty.so. I checked it out and found that the library was missing (I didn't set up this system in the first place but I actually have to maintain it... :-(

I also thought that PAM wasn't responsible for telnet logins because I got some PAM messages in the syslog output on FTP logins but not on telnet. Now I know better...

Finally, all I had to do was to restore the library and remove the comment. Now it works fine!
 
  


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
root access via telnet Goma_2 Linux - Security 9 02-09-2004 07:43 AM
root access in telnet dcorwin822 Linux - Software 12 11-06-2003 07:22 PM
root access via telnet Goma_2 Linux - General 3 10-03-2003 09:13 AM
disallow telnet connection mikeshn Linux - General 1 11-04-2002 12:51 PM
Root Telnet Access AtulGore Linux - Networking 5 11-21-2001 11:32 PM


All times are GMT -5. The time now is 02:26 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration