Operating System - Linux
1753624 Members
5896 Online
108797 Solutions
New Discussion

Re: help plz to solve problem with rexec autorisation..

 
SOLVED
Go to solution
Michael Yurin
Advisor

help plz to solve problem with rexec autorisation..

Dear Sir!

The situation is this:
running rexec host -l user /sbin/ifconfig
...its working
running rexec host -l root /sbin/ifconfig
rexec: Lost connection

how to make this working?

Thanks'

1 REPLY 1
Dave Kelly_1
Respected Contributor
Solution

Re: help plz to solve problem with rexec autorisation..

Access to rexec is controlled through PAM (Pluggable Authentication Modules).

For a more secure system, root should not be allowed as a user name for any of the "r" commands like rlogin, rsh and rexec.

If you really do need to use rexec with root, you should edit /etc/pam.d/rexec and comment out the line containing

pam_securetty.so


Obviously, you need to be aware of the security implications that accompany this decision.