This is the mail archive of the cygwin@sources.redhat.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]

Re: setuid and seteuid


Ed Eden wrote:
> >if I do an 'su - guest' or 'su - tuser1' , I get
> >
> >'su: cannot set user id: Not owner'

You can't change user context without giving a password
and if the process has special permissions.

> >1. should there be a root with uid 0 and should Everyone be something
> >else?

All one.

> >2. I read the changes in 1.1.3 about the extra function calls to
> >support setuid, where is the best documentation and hopefully some
> >examples for this.

If you have installed the whole net release:

/usr/doc/Cygwin/inetutils-1.3.2.README

else install inetutils from cygwin/latest from your favorite mirror.

Example: sources of `login' as well from your favorite mirror.

cygwin/latest/login/login-1.4-src.tar.gz

Hope, that helps,
Corinna

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

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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