Getting issue with rexec service in Red Hat Enterprise Linux Server release 5.5 (Tikanga)

Latest response

I am getting following error when running rexec command with a username “Prepaid”
root@localhost ~]# rexec -l prepaid -p prepaid123 localhost ls
localhost: No such file or directory
rexec: Error in rexec system call,
rexec: (The following system error may itself be in error)
rexec: Illegal seek
[root@localhost ~]#

/var/log/secure:
Jan 14 03:20:04 localhost in.rexecd[17556]: pam_unix(rexec:auth): authentication failure; logname= uid=0 euid=0 tty=rexec ruser=preapid rhost=localhost
Jan 14 03:20:04 localhost in.rexecd[17556]: pam_succeed_if(rexec:auth): error retrieving information about user preapid

/var/log/message:

Jan 14 03:28:53 localhost init: Id "ucd" respawning too fast: disabled for 5 minutes
Jan 14 03:31:30 localhost xinetd[15935]: START: exec pid=18129 from=10.x.x.x
Jan 14 03:31:30 localhost in.rexecd[18129]: connect from localhost
Jan 14 03:31:32 localhost xinetd[15935]: EXIT: exec status=1 pid=18129 duration=2(sec)
Rexec enteries in ::::::::::::::::::::::::
/etc/xinetd.d/rexec
service exec
{
disable = no
socket_type = stream
wait = no
user = root
log_on_success += USERID
log_on_failure += USERID
server = /usr/sbin/in.rexecd
}
/etc/securetty
console
vc/1
vc/2
tty1
pts/0
rsh
rexec

rlogin

Please help to fix this problem.

Attachments

Responses