The setuid bit is not set for rlogin and peers in RHEL7.1

Solution Verified - Updated -

Issue

In RHEL 7.1, the setuid permission bit on binaries provided by rsh package are different than the same binaries provided by the same package in RHEL 6.7.

RHEL6.7
Package: rsh-0.17-64.el6.x86_64.rpm
Permissions seen: [setuid set]
# ls -l usr/bin/
-rwsr-xr-x 1 root root 20888 2014-05-26 06:39 rcp
-rwxr-xr-x 1 root root 17304 2014-05-26 06:39 rexec
-rwsr-xr-x 1 root root 15640 2014-05-26 06:39 rlogin
-rwsr-xr-x 1 root root 11408 2014-05-26 06:39 rsh

RHEL7.1
Package: rsh-0.17-76.el7.x86_64.rpm
Permissions seen: [setuid unset]
# ls -l usr/bin/
-rwxr-xr-x 1 root root 23904 2014-08-18 06:14 rcp
-rwxr-xr-x 1 root root 19728 2014-08-18 06:14 rexec
-rwxr-xr-x 1 root root 19824 2014-08-18 06:14 rlogin
-rwxr-xr-x 1 root root 15560 2014-08-18 06:14 rsh

What should be done for applications that rely on the binaries having the setuid permissions bit available on them?

Environment

Red Hat Enterprise Linux (RHEL) 7.1

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.