LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-13-2010, 02:27 PM   #1
decoy
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Rep: Reputation: 0
SLES 11 enable root telnet


Hi, everyone.
I have a task I need to enable root telnet on SLES 11.
I know about security hole, it is a must requirement accordingly to executing some scripts.
Telnet works for the other user , but not for root
SSH work properly.
Added pts/0 .. pts/24 to the /etc/securetty
Please, help me

Thank you
 
Old 10-13-2010, 02:39 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by decoy View Post
Hi, everyone.
I have a task I need to enable root telnet on SLES 11.
I know about security hole, it is a must requirement accordingly to executing some scripts.
Telnet works for the other user , but not for root
SSH work properly.
Added pts/0 .. pts/24 to the /etc/securetty
Please, help me

Thank you
You need to restart the service for changes to take effect. And by what you've described, your situation makes no sense.

If you've GOT SSH working, you've got inbound terminal access, to run whatever scripts you want. If you're automating something, passwordless SSH is far easier than writing expect scripts for telnet, and no matter what....if you can log in as a 'regular' user, why can't you use SUDO or even "su", to avoid logging in as root???
 
Old 10-13-2010, 02:52 PM   #3
decoy
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Original Poster
Rep: Reputation: 0
TB0ne,
Thank you for the prompt answer
I restarted services maybe thousand time, either xinetd and network but doesn't work.
You are absolutely right regarding to possible changes, and I tried to describe options to the man , who write the script , but for him there is only solution - use remote telnet as a root.
So I need to find the way to enable root telnet

Last edited by decoy; 10-13-2010 at 03:06 PM.
 
Old 10-13-2010, 04:01 PM   #4
decoy
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Resolved,
The reason of refusing telnet was simultaneous running ktelnet service.
Thanks all
 
Old 10-13-2010, 04:24 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by decoy View Post
TB0ne,
Thank you for the prompt answer
I restarted services maybe thousand time, either xinetd and network but doesn't work.
You are absolutely right regarding to possible changes, and I tried to describe options to the man , who write the script , but for him there is only solution - use remote telnet as a root.
So I need to find the way to enable root telnet
If you're responsible for the system, then it's YOU who provides the solution, and it's YOU who's going to be held accountable if something bad happens.

If "the man who write the script" is that dumb, that they can't understand how bad this is from a security standpoint, let alone not understand the options, then they shouldn't be writing ANY code for ANY one.
 
Old 10-14-2010, 12:24 PM   #6
decoy
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Original Poster
Rep: Reputation: 0
TB0ne,
You are absolutely right, but this is more or less isolated lab.
Anyway he's aware of this hole.
Thanks
 
  


Reply



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
Enable telnet for root user on RHEL 4 ES phanee Linux - Server 3 04-15-2008 09:33 AM
Remote Telnet as "root" into SLES 10 system xunil321 Linux - Software 13 02-05-2008 12:39 AM
hi,I enable the krb5-telnet service,but root user can't login hodge Linux - Newbie 2 07-17-2007 12:21 AM
How to enable FTP on SuSE SLES 8 ? riklee Linux - Distributions 0 11-10-2003 01:19 AM
Enable root to telnet into Red Hat 7.2 glock19 Linux - General 3 11-21-2001 07:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:42 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