1827421 Members
3866 Online
109965 Solutions
New Discussion

rexec command

 
SOLVED
Go to solution
castro_2
Regular Advisor

rexec command

I have Redhat 7.0, I need the rexec work but when I use show me the error "Were are you"
rexec IP -l root ls

Thanks
3 REPLIES 3
Ted Ellis_2
Honored Contributor

Re: rexec command

did you edit the /etc/pam.d/rexec file to adjust what is required for authroizing this process?
castro_2
Regular Advisor

Re: rexec command

The /etc/pam.d/rexec
# more rexec
#%PAM-1.0
#auth required /lib/security/pam_securetty.so
auth required /lib/security/pam_pwdb.so shadow nullok
auth required /lib/security/pam_nologin.so
account required /lib/security/pam_pwdb.so
Ted Ellis_2
Honored Contributor
Solution

Re: rexec command

instead of commenting it out.. change the required to optional... not sure if this will fix your issue... but I have never needed to do more than this to get other r commands working