Skrevet av Emne: rsh fails with 'Permission denied' as root under RH 7.2  (Lest 4235 ganger)

ATC

  • Gjest
rsh fails with 'Permission denied' as root under RH 7.2
« på: 27. ſeptember 2008, 18:24 pm »
  • [applaud]0
  • [smite]0
  • "Permission denied" when attempting to run commands via rsh as root on a RH7.2 server



    ATC

    • Gjest
    [Solved] rsh fails with 'Permission denied' as root under RH 7.2
    « Svar #1 på: 27. ſeptember 2008, 18:24 pm »
  • [applaud]0
  • [smite]0
  • The system log and rsh documentation incorrectly indicates that you need to add the argument '-h' to your xinetd configuration. This was true for earlier versions, but in RH7.2 PAM will check your /etc/securetty file for an 'rsh' entry instead.

    Simply add 'rsh' to your '/etc/securetty' file and it should work as expected. Keep in mind that you still need to create a proper '.rlogin' file as per the documentation.