* effective user id
@ 2001-02-09 22:03 Guy Worthington
2001-02-12 1:47 ` Corinna Vinschen
0 siblings, 1 reply; 3+ messages in thread
From: Guy Worthington @ 2001-02-09 22:03 UTC (permalink / raw)
To: cygwin
If I'm logged in as an administrators member and then in a console type:
su guest
I get the error
su: Cannot set group id: Invalid argument
I'm trying to switch to another effective user ID with no password in
the same way as has been exploited for anonymous ftp
(as described in the article: inetutils-1.3.2.README).
How do I switch my effective user ID to another user without a password.
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: effective user id
2001-02-09 22:03 effective user id Guy Worthington
@ 2001-02-12 1:47 ` Corinna Vinschen
2001-02-12 2:42 ` Corinna Vinschen
0 siblings, 1 reply; 3+ messages in thread
From: Corinna Vinschen @ 2001-02-12 1:47 UTC (permalink / raw)
To: cygwin
On Sat, Feb 10, 2001 at 02:04:17PM +0800, Guy Worthington wrote:
> If I'm logged in as an administrators member and then in a console type:
>
> su guest
>
> I get the error
>
> su: Cannot set group id: Invalid argument
>
> I'm trying to switch to another effective user ID with no password in
> the same way as has been exploited for anonymous ftp
> (as described in the article: inetutils-1.3.2.README).
>
> How do I switch my effective user ID to another user without a password.
http://cygwin.com/docs.html
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: effective user id
2001-02-12 1:47 ` Corinna Vinschen
@ 2001-02-12 2:42 ` Corinna Vinschen
0 siblings, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2001-02-12 2:42 UTC (permalink / raw)
To: cygwin
On Mon, Feb 12, 2001 at 10:47:24AM +0100, Corinna Vinschen wrote:
> On Sat, Feb 10, 2001 at 02:04:17PM +0800, Guy Worthington wrote:
> > If I'm logged in as an administrators member and then in a console type:
> >
> > su guest
> >
> > I get the error
> >
> > su: Cannot set group id: Invalid argument
> >
> > I'm trying to switch to another effective user ID with no password in
> > the same way as has been exploited for anonymous ftp
> > (as described in the article: inetutils-1.3.2.README).
> >
> > How do I switch my effective user ID to another user without a password.
>
> http://cygwin.com/docs.html
Sorry, that's a bit short.
Correct answer: You can switch the euid without a password if and only if
the user you switch to has no password.
More info: http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID
Other prerequisites are correct passwd and group files. Your above
error is probably related to a incorrect /etc/group file. The gid in
the users passwd entry is not mentioned in /etc/group or sth similar.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-02-12 2:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-09 22:03 effective user id Guy Worthington
2001-02-12 1:47 ` Corinna Vinschen
2001-02-12 2:42 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).