Yeap, the daemon is running -- triggered from xinetd
Don't need (or WANT) root -- would like to use the config options of xinetd
to control which hosts can do this.....

Below are outputs from:
========================================================
USER DESKTOP:==============================================
=============================================================
[EMAIL PROTECTED] root]# rexec -n  svr-1 ls 
Username at svr-1: DOR
Password: 
svr-1: No such file or directory
rexec: Error in rexec system call,
rexec: (The following system error may itself be in error)
rexec: Illegal seek
[EMAIL PROTECTED] root]# 

==============================================================
xinetd -d call showing debug info ==============================
===============================================================
[EMAIL PROTECTED] log]# xinetd -d
03/7/[EMAIL PROTECTED]:05:22: ERROR: 3444 {handle_includedir} /etc/xinetd.d/hold is 
not a
regular file. It is being skipped.
03/7/[EMAIL PROTECTED]:05:22: DEBUG: 3444 {handle_includedir} Reading included
configuration file: /etc/xinetd.d/rexec [line=15]
03/7/[EMAIL PROTECTED]:05:22: DEBUG: 3444 {handle_includedir} Reading included
configuration file: /etc/xinetd.d/telnet [line=14]
03/7/[EMAIL PROTECTED]:05:22: DEBUG: 3444 {handle_includedir} Reading included
configuration file: /etc/xinetd.d/wu-ftpd [line=14]
Service defaults
        CPS = max conn:15 wait:30
        PER_SOURCE = 5
        Bind = All addresses.
        Only from: All sites
        No access: No blocked sites
        Logging to syslog. Facility = authpriv, level = debug
        Log_on_success flags = HOST PID
        Log_on_failure flags = HOST ATTEMPT USERID

Service configuration: exec
        id = exec
        flags = IPv4
        socket_type = stream
        Protocol (name,number) = (tcp,6)
        port = 512
        Groups = no
        PER_SOURCE = 5
        Bind = All addresses.
        Server = /usr/sbin/in.rexecd
        Server argv = in.rexecd
        Only from: All sites
        No access: No blocked sites
        Logging to syslog. Facility = authpriv, level = debug
        Log_on_success flags = HOST PID
        Log_on_failure flags = HOST ATTEMPT USERID

Service configuration: telnet
        id = telnet
        flags = REUSE IPv4
        socket_type = stream
        Protocol (name,number) = (tcp,6)
        port = 23
        Groups = no
        PER_SOURCE = 5
        Bind = All addresses.
        Server = /usr/sbin/in.telnetd
        Server argv = in.telnetd
        Only from:  10.15.38.130(NUMERIC) 10.15.38.132(NUMERIC)
10.15.100.21(NUMERIC) 10.15.100.31(NUMERIC) 10.15.38.131(NUMERIC)
10.15.38.130(NUMERIC)
        No access: No blocked sites
        Logging to syslog. Facility = authpriv, level = debug
        Log_on_success flags = HOST PID
        Log_on_failure flags = HOST ATTEMPT USERID

Service configuration: ftp
        id = ftp
        flags = IPv4
        socket_type = stream
        Protocol (name,number) = (tcp,6)
        port = 21
        Nice = 10
        Groups = no
        PER_SOURCE = 5
        Bind = All addresses.
        Server = /usr/sbin/in.ftpd
        Server argv = in.ftpd -lLioX -r
        Only from: All sites
        No access: No blocked sites
        Logging to syslog. Facility = authpriv, level = debug
        Log_on_success flags = HOST DURATION PID USERID
        Log_on_failure flags = HOST ATTEMPT USERID

03/7/[EMAIL PROTECTED]:05:22: DEBUG: 3444 {cnf_start_services} Started service: exec
03/7/[EMAIL PROTECTED]:05:22: DEBUG: 3444 {cnf_start_services} Started service: telnet
03/7/[EMAIL PROTECTED]:05:22: DEBUG: 3444 {cnf_start_services} Started service: ftp
03/7/[EMAIL PROTECTED]:05:22: DEBUG: 3444 {cnf_start_services} mask_max = 8,
services_started = 3
03/7/[EMAIL PROTECTED]:05:22: NOTICE: 3444 {main} xinetd Version 2.3.11 started with
libwrap loadavg options compiled in.
03/7/[EMAIL PROTECTED]:05:22: NOTICE: 3444 {main} Started working: 3 available services
03/7/[EMAIL PROTECTED]:05:22: DEBUG: 3444 {main_loop} active_services = 3
03/7/[EMAIL PROTECTED]:05:36: DEBUG: 3444 {main_loop} select returned 1
03/7/[EMAIL PROTECTED]:05:36: DEBUG: 3444 {server_start} Starting service exec
03/7/[EMAIL PROTECTED]:05:36: DEBUG: 3444 {main_loop} active_services = 3
03/7/[EMAIL PROTECTED]:05:36: DEBUG: 3445 {exec_server} duping 9
03/7/[EMAIL PROTECTED]:05:36: DEBUG: 3444 {main_loop} active_services = 3
03/7/[EMAIL PROTECTED]:05:36: DEBUG: 3444 {main_loop} select returned 1
03/7/[EMAIL PROTECTED]:05:36: DEBUG: 3444 {check_pipe} Got signal 17 (Child exited)
03/7/[EMAIL PROTECTED]:05:36: DEBUG: 3444 {child_exit} waitpid returned = 3445
03/7/[EMAIL PROTECTED]:05:36: DEBUG: 3444 {server_end} exec server 3445 exited
03/7/[EMAIL PROTECTED]:05:36: INFO: 3444 {conn_free} freeing connection
03/7/[EMAIL PROTECTED]:05:36: DEBUG: 3444 {child_exit} waitpid returned = -1
03/7/[EMAIL PROTECTED]:05:36: DEBUG: 3444 {main_loop} active_services = 3

=====================================================
syslog logging being sent to daemonlog file==============
also shows successful 2 ssh log-ins
=====================================================
[EMAIL PROTECTED] log]# tail daemonlog
Jul  2 10:58:56 svr-1 sshd[3273]: Accepted password for root from
10.15.38.25 port 1306 ssh2
Jul  2 12:03:05 svr-1 sshd[3373]: Accepted password for root from
10.15.38.25 port 1689 ssh2
Jul  2 12:03:28 svr-1 in.rexecd[3421]: connect from css38025.dor
Jul  2 12:04:26 svr-1 xinetd[523]: Exiting...
Jul  2 12:05:36 svr-1 in.rexecd[3445]: connect from css38025.dor
[EMAIL PROTECTED] log]# 
=====================================================================



-----Original Message-----
From: Hermann Kaiser [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 12:00 PM
To: [EMAIL PROTECTED]
Subject: Re: rexec via xinetd help


Is the rexec daemon installed? (/usr/sbin/in.rexecd)
What is /var/log/messages telling you?
If you need to run the rexec call as root, include rexec in 
/etc/securetty
Hope it helps ...
ciao,
Hermann
On Wed, Jul 02, 2003 at 11:34:10AM -0700, SAWYER Charlotte M wrote:
> I have a situation where I apparently HAVE to use rexec to get one server
(a
> non-linux system) to run a script on a linux server (lin2). I have very
> little influence over the configuration of the non-linux server. I have
> almost total control over how the linux server is configured.
> 
> In it's current configuration, the non-linux server doesn't support ssh
but
> is expected to get data from an sftp site. When I attempt to run the
script
> from the non-linux server, it fails complaining: "no such file or
directory;
> error in rexec system call; the following system error may itself be in
> error; illegal seek". 
> 
> I've tweaked just about everything in the xinetd.conf file, and the rexec
> file in the xinetd.d directory of the linux server. I also have
host.allow,
> host.deny. and hosts equiv files. In the home directory for the user
account
> that's trying to run the script, I have a hidden rhosts file. 
> 
> A linux server can run sftp and ssh just fine, but doesn't respond to a
> request from the non-linux server to run the script. 
> 
> A linux desktop I have can run rexec commands on a different *nix box just
> fine, but not on the linux server. 
> 
> I'm open to suggestions! 
> 
> 
> 
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~
> Charlotte Sawyer
> Oregon Dept of Revenue
> Network Technical Support
> voice:  503-945-8050
> fax:  503-947-1154
> email:  [EMAIL PROTECTED] 
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to