LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-21-2007, 02:14 AM   #1
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 40
How to enable REXEC on RHEL4/5


First of all I am aware that commands like rexec are obsolete due to their security issues. In my case that does not apply and I need it anyway.

I have enabled rexec in /etc/xinet.d/rexec

Then I restarted xinetd and enabled rexec with chkconfig rexec on.

From remote I test the settings with:

Code:
telnet 192.168.6.66 512
Trying 192.168.6.66...
Connected to hostname (192.168.6.66).
Escape character is '^]'.
Where are you?
Connection closed by foreign host.
So I think the service is running correctly. But commands issued with rexec from remote are not executed.

Code:
$ rexec 192.168.6.66 -l root ls
Password:
<hangs>
Any clues? Am I missing something?
 
Old 11-21-2007, 03:28 AM   #2
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Original Poster
Rep: Reputation: 40
I found the solution. The setup is correct but there needs to be a proper dns name for the client.
 
  


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
rexec hangs hacketta Linux - Newbie 1 03-22-2007 08:35 AM
REXEC not working viv_pol Linux - Networking 0 06-11-2006 10:56 PM
Rexec problem cuencano AIX 1 06-17-2005 03:02 PM
Trying to get rexec to work. When incoming rexec, linux host responds 'Where are you krulr Red Hat 1 09-12-2003 10:20 AM
Unable to use rexec in Exceed chakri_in5 Linux - Networking 2 08-13-2003 07:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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