Bug 19293 - "-rwsr-xr-x" for ssh?
"-rwsr-xr-x" for ssh?
Product: Red Hat Linux
Classification: Retired
Component: openssh (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Depends On:
  Show dependency treegraph
Reported: 2000-10-17 20:31 EDT by Need Real Name
Modified: 2008-05-01 11:37 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-10-20 16:49:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2000-10-17 20:31:05 EDT
After upgrading default openssh on RH7.0
using openssh-clients-2.2.0p1-5.i386.rpm,
I noticed /usr/bin/ssh has protection mode as
"-rwsr-xr-x". Is this a feature or a bug?
I don't think allow ing ssh start on privilaged port
is a good idea.
Comment 1 Daniel Roesen 2000-10-18 08:14:53 EDT
I agree that the ssh client should NOT be setuid-root by default.
Comment 2 Pekka Savola 2000-10-19 14:49:30 EDT
setuid bit is required for RSAAuthentication and RhostsRSAAuthentication.
Comment 3 Daniel Roesen 2000-10-19 14:55:18 EDT
Only for RhostsRSAAuthentication, not RSAAuthentication. Otherwise I must be
doing something wrong, because RSA Auth works perfectly without suid bit set on
the client. :-]
Comment 4 Pekka Savola 2000-10-20 16:49:01 EDT
Oh.  You're correct :-)
Comment 5 Nalin Dahyabhai 2000-10-24 15:22:43 EDT
All of the above.  Any kind of RHosts authentication is based on the client
connecting from a "privileged" port, and ssh needs to be setuid in order to do
this correctly.

Note You need to log in before you can comment on or make changes to this bug.