rsh as non-root user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have several RH EL systems that all exhibit the same behavior.  I cannot rsh from one to the other as a non-root user without getting asked for the pw.  Root works fine. 

 

I have:

 

Edited /etc/xinetd.d/rsh rlogin and rexec and made disable=no and restarted

 

Added rexec rlogin and rsh to securetty

 

Have + + in the users .rhosts in his homedir (I know its very insecure)

 

This is my /etc/pam.d/rsh file

 

#%PAM-1.0

# For root login to succeed here with pam_securetty, "rsh" must be

# listed in /etc/securetty.

auth       required     pam_nologin.so

auth       required     pam_securetty.so

auth       required     pam_env.so

auth       required     pam_rhosts_auth.so

account    required     pam_stack.so service=system-auth

session    required     pam_stack.so service=system-auth

 

the rlogin file looks the same

 

 

I get the following error in messages file

 

Nov 13 15:23:22 linux8 pam_rhosts_auth[17815]: denied to jblow@linux1 as jblow: access not allowed

 

Does anyone have any ideas on how to get non-root users able to use rsh?

 

thanks

_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux