This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch 3: sshd


On Wed, 06 Nov 2002 11:36:31 -0500, Pierre A. Humblet wrote:
> Currently setuid on Win95/98/ME always returns success
> but does not change the uid. That confuses some programs
> that verify if the setuid has really succeeded.
> 
> It is literally a two line change in Cygwin to fix
> that, but unfortunately changing uids breaks sshd
> on Win95/98/ME.

Can we really do this?  Doesn't that potentially break something?

> P.S.: There is an opposite problem in login. It doesn't
> check if the setuid succeeds. If it fails (e.g. because
> the sid is missing in /etc/passwd), login goes ahead
> and starts the shell anyway. The user then finds herself
> running as SYSTEM.

Thanks, I'm going to apply a patch.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]