Forums.ATC.no

Teknisk => Generelt teknisk => Emne startet av: ATC på 27. ſeptember 2008, 18:24 pm

Tittel: rsh fails with 'Permission denied' as root under RH 7.2
Skrevet av: ATC27. ſeptember 2008, 18:24 pm
"Permission denied" when attempting to run commands via rsh as root on a RH7.2 server
Tittel: [Solved] rsh fails with 'Permission denied' as root under RH 7.2
Skrevet av: ATC27. ſeptember 2008, 18:24 pm
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.