Hello,
In spite of following steps to enable root rsh, I am getting following message in /var/log/messages:
Mar 3 21:48:19 lcan350 rshd[21280]: PAM unable to dlopen(/lib/security/pam_rhosts_auth.so)
Mar 3 21:48:19 lcan350 rshd[21280]: PAM [dlerror: /lib/security/pam_rhosts_auth.so: cannot open shared object file: No such file or directory]
Mar 3 21:48:19 lcan350 rshd[21280]: PAM adding faulty module: /lib/security/pam_rhosts_auth.so
Mar 3 21:48:19 lcan350 rshd[21280]: PAM unable to dlopen(/lib/security/pam_securetty.so)
Mar 3 21:48:19 lcan350 rshd[21280]: PAM [dlerror: /lib/security/pam_securetty.so: cannot open shared object file: No such file or directory]
Mar 3 21:48:19 lcan350 rshd[21280]: PAM adding faulty module: /lib/security/pam_securetty.so
Mar 3 21:48:19 lcan350 rshd[21280]: PAM unable to dlopen(/lib/security/pam_nologin.so)
Mar 3 21:48:19 lcan350 rshd[21280]: PAM [dlerror: /lib/security/pam_nologin.so: cannot open shared object file: No such file or directory]
Mar 3 21:48:19 lcan350 rshd[21280]: PAM adding faulty module: /lib/security/pam_nologin.so
Mar 3 21:48:19 lcan350 rshd[21280]: PAM unable to dlopen(/lib/security/pam_env.so)
Mar 3 21:48:19 lcan350 rshd[21280]: PAM [dlerror: /lib/security/pam_env.so: cannot open shared object file: No such file or directory]
Mar 3 21:48:19 lcan350 rshd[21280]: PAM adding faulty module: /lib/security/pam_env.so
Mar 3 21:48:19 lcan350 rshd[21280]: PAM unable to dlopen(/lib/security/pam_stack.so)
Mar 3 21:48:19 lcan350 rshd[21280]: PAM [dlerror: /lib/security/pam_stack.so: cannot open shared object file: No such file or directory]
Mar 3 21:48:19 lcan350 rshd[21280]: PAM adding faulty module: /lib/security/pam_stack.so
Mar 3 21:48:19 lcan350 rshd[21280]: rsh denied to
root@lcan350.pbm.ihost.com as root: Permission denied.
Mar 3 21:48:19 lcan350 rshd[21280]: rsh command was 'date'
I have added following to /etc/securetty file
rexec
rsh
rlogin
I also tried putting pseudo tty names and that also did not work.
I have tried /root/.rhosts with both 644 and 600 permissions. Can someone help me out here?
Thank you