Operating System - Linux
1745896 Members
4166 Online
108723 Solutions
New Discussion

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.