Why rsh as 'root' user fails with 'Permission Denied' ?

Solution Verified - Updated -

Issue

  • rsh to non-root user works fine. But rsh as root user from remote machine fails with "Permission denied" error.
$ rsh localhost uptime
19:39:11 up  1:27,  3 users,  load average: 0.44, 0.63, 0.54
# rsh server-ip uptime
Permission denied.

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In