LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SLES 11 enable root telnet (https://www.linuxquestions.org/questions/linux-newbie-8/sles-11-enable-root-telnet-837863/)

decoy 10-13-2010 02:27 PM

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

TB0ne 10-13-2010 02:39 PM

Quote:

Originally Posted by decoy (Post 4126346)
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???

decoy 10-13-2010 02:52 PM

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

decoy 10-13-2010 04:01 PM

Resolved,
The reason of refusing telnet was simultaneous running ktelnet service.
Thanks all

TB0ne 10-13-2010 04:24 PM

Quote:

Originally Posted by decoy (Post 4126368)
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.

decoy 10-14-2010 12:24 PM

TB0ne,
You are absolutely right, but this is more or less isolated lab.
Anyway he's aware of this hole.
Thanks


All times are GMT -5. The time now is 03:46 PM.