will bash honor the suid bit or not?

Corinna Vinschen cygwin@cygwin.com
Thu Apr 18 01:57:00 GMT 2002


On Wed, Apr 17, 2002 at 06:56:08PM -0700, Richard Troy wrote:
> [...]

First of all, it's not bash but the OS (here Cygwin) which would
have to care for the suid bit.

Second, the suid bit is available with ntsec on NTFS file systems
but for now it's *only* available as a flag.  It has no effect!
The implementation of suid under Win32 requires a running daemon
with special permissions (running under SYSTEM account, that is)
which can start a process under a different user account on behalf
of the calling process.  The daemon already exists but the suid
functionality isn't implemented yet.  It requires a person with
a lot of time, actually...

Corinna

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

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list