public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Anonymous FTP
@ 2001-01-23  8:24 David A. Cobb
  2001-01-23  8:31 ` Christopher Faylor
  0 siblings, 1 reply; 11+ messages in thread
From: David A. Cobb @ 2001-01-23  8:24 UTC (permalink / raw)
  To: Cygwin List

At least the GNU "glibc" page any your own "glibc" page, plus possibly
many
others have links < ftp://sourceware.cygnus.com/pub/glibc/ >
But, when I click, I get a username/password challenge and
"anonymous/mailname"
gets me an authorization reject.

Does your site (still) do anonymous ftp?  If so, what's the secret?

--
David A. Cobb, Software Engineer, Public Access Advocate.  Public Key
at:
< http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=superbiskit >
"Don't buy or use crappy software"
"By the grace of God I am a Christian man,
 by my actions a great sinner" -- The Way of a Pilgrim [R. M. French,
tr.]



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Anonymous FTP
  2001-01-23  8:24 Anonymous FTP David A. Cobb
@ 2001-01-23  8:31 ` Christopher Faylor
  2001-01-23  9:31   ` Earnie Boyd
  0 siblings, 1 reply; 11+ messages in thread
From: Christopher Faylor @ 2001-01-23  8:31 UTC (permalink / raw)
  To: Cygwin List

Use mirrors.

cgf

On Tue, Jan 23, 2001 at 11:23:41AM -0500, David A. Cobb wrote:
>At least the GNU "glibc" page any your own "glibc" page, plus possibly
>many others have links < ftp://sourceware.cygnus.com/pub/glibc/ > But,
>when I click, I get a username/password challenge and
>"anonymous/mailname" gets me an authorization reject.
>
>Does your site (still) do anonymous ftp?  If so, what's the secret?

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Anonymous FTP
  2001-01-23  8:31 ` Christopher Faylor
@ 2001-01-23  9:31   ` Earnie Boyd
  2001-01-23 12:46     ` Robert Collins
  0 siblings, 1 reply; 11+ messages in thread
From: Earnie Boyd @ 2001-01-23  9:31 UTC (permalink / raw)
  To: cygwin

And use Netscape instead of IE.  It is a feature of IE to think you need
to authenticate yourself even if it is as simple as too many users.

Earnie.

Christopher Faylor wrote:
> 
> Use mirrors.
> 
> cgf
> 
> On Tue, Jan 23, 2001 at 11:23:41AM -0500, David A. Cobb wrote:
> >At least the GNU "glibc" page any your own "glibc" page, plus possibly
> >many others have links < ftp://sourceware.cygnus.com/pub/glibc/ > But,
> >when I click, I get a username/password challenge and
> >"anonymous/mailname" gets me an authorization reject.
> >
> >Does your site (still) do anonymous ftp?  If so, what's the secret?
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Anonymous FTP
  2001-01-23  9:31   ` Earnie Boyd
@ 2001-01-23 12:46     ` Robert Collins
  0 siblings, 0 replies; 11+ messages in thread
From: Robert Collins @ 2001-01-23 12:46 UTC (permalink / raw)
  To: Earnie Boyd

Or turn off "show friendly HTTP error messages" in advanced options to see the actual error occuring in your connection.

Rob



----- Original Message ----- 
From: "Earnie Boyd" <earnie_boyd@yahoo.com>
To: <cygwin@cygwin.com>
Sent: Wednesday, January 24, 2001 4:31 AM
Subject: Re: Anonymous FTP


> And use Netscape instead of IE.  It is a feature of IE to think you need
> to authenticate yourself even if it is as simple as too many users.
> 
> Earnie.
> 
> Christopher Faylor wrote:
> > 
> > Use mirrors.
> > 
> > cgf
> > 
> > On Tue, Jan 23, 2001 at 11:23:41AM -0500, David A. Cobb wrote:
> > >At least the GNU "glibc" page any your own "glibc" page, plus possibly
> > >many others have links < ftp://sourceware.cygnus.com/pub/glibc/ > But,
> > >when I click, I get a username/password challenge and
> > >"anonymous/mailname" gets me an authorization reject.
> > >
> > >Does your site (still) do anonymous ftp?  If so, what's the secret?
> > 
> > --
> > Want to unsubscribe from this list?
> > Check out: http://cygwin.com/ml/#unsubscribe-simple
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
> 
> 


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Anonymous ftp
  2002-08-05  9:37   ` Ton van Vliet
@ 2002-08-05 10:00     ` Christopher Faylor
  0 siblings, 0 replies; 11+ messages in thread
From: Christopher Faylor @ 2002-08-05 10:00 UTC (permalink / raw)
  To: cygwin

On Mon, Aug 05, 2002 at 06:12:54PM +0200, Ton van Vliet wrote:
>These problems all seem to be related somehow:
>
>http://cygwin.com/ml/cygwin/2002-07/msg02423.html
>http://cygwin.com/ml/cygwin/2002-08/msg00260.html
>
>and, as 'cgf' states: 
>	should be fixed in the next snapshot!

Or, even in the "current snapshot", at this point.

cgf
--
Please do not send me personal email with cygwin questions.
Use the resources at http://cygwin.com/ .

--
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/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Anonymous ftp
  2002-08-05  6:13 ` Stephen C. Biggs
@ 2002-08-05  9:37   ` Ton van Vliet
  2002-08-05 10:00     ` Christopher Faylor
  0 siblings, 1 reply; 11+ messages in thread
From: Ton van Vliet @ 2002-08-05  9:37 UTC (permalink / raw)
  To: cygwin

These problems all seem to be related somehow:

http://cygwin.com/ml/cygwin/2002-07/msg02423.html
http://cygwin.com/ml/cygwin/2002-08/msg00260.html

and, as 'cgf' states: 
	should be fixed in the next snapshot!

Cheers,
-- Ton.

On Mon, 05 Aug 2002 05:42:11 -0700, you wrote:

>Oh yeah, another bizarreness!
>
>I have three drives/partitions: c, d, and f.  The 
>mounts are correct and I can get to all of the 
>drives.  c is FAT16 and d & f are NTFS.  I am 
>running with ntsec.
>
>Looky at this:
>
>$ cd /cygdrive
>$ ls
>d f
>
>Bug!?  Where is c??
>
>On 5 Aug 2002 at 14:19, Corwin wrote:
>
>> When I ftp anonymously on my computer, I am able to cd to /cygdrive ...
>> Even if the content of cygdrive appears to be empty (it is impossible to cd
>> to /cygdrive/c fortunatly !!)
>> Is this normal ??
>> A I missing something in setting up a secure anonymous ftp server ?
>> 
>> Thanks
>> 
>> Thomas


--
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/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Anonymous ftp
  2002-08-05  5:37 Anonymous ftp Corwin
@ 2002-08-05  6:13 ` Stephen C. Biggs
  2002-08-05  9:37   ` Ton van Vliet
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen C. Biggs @ 2002-08-05  6:13 UTC (permalink / raw)
  To: cygwin

Oh yeah, another bizarreness!

I have three drives/partitions: c, d, and f.  The 
mounts are correct and I can get to all of the 
drives.  c is FAT16 and d & f are NTFS.  I am 
running with ntsec.

Looky at this:

$ cd /cygdrive
$ ls
d f

Bug!?  Where is c??

On 5 Aug 2002 at 14:19, Corwin wrote:

> When I ftp anonymously on my computer, I am able to cd to /cygdrive ...
> Even if the content of cygdrive appears to be empty (it is impossible to cd
> to /cygdrive/c fortunatly !!)
> Is this normal ??
> A I missing something in setting up a secure anonymous ftp server ?
> 
> Thanks
> 
> Thomas
> 
> 
> --
> 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/
> 
> 
> 



--
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/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Anonymous ftp
@ 2002-08-05  5:37 Corwin
  2002-08-05  6:13 ` Stephen C. Biggs
  0 siblings, 1 reply; 11+ messages in thread
From: Corwin @ 2002-08-05  5:37 UTC (permalink / raw)
  To: cygwin

When I ftp anonymously on my computer, I am able to cd to /cygdrive ...
Even if the content of cygdrive appears to be empty (it is impossible to cd
to /cygdrive/c fortunatly !!)
Is this normal ??
A I missing something in setting up a secure anonymous ftp server ?

Thanks

Thomas


--
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/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: anonymous ftp
  2001-03-30  0:26 ` Corinna Vinschen
@ 2001-03-30  2:45   ` Jacek Trzcinski
  0 siblings, 0 replies; 11+ messages in thread
From: Jacek Trzcinski @ 2001-03-30  2:45 UTC (permalink / raw)
  To: Corinna Vinschen, cygwin

Hi !

User jacek is only member of group users.
You were right as far as passwd file. For anonymous user I created in
directory /home/ftp new directory
etc where I placed passwd and group from my /etc directory. After
logging as anonymous user rights were displayed OK ( user root , group
root). Unfortunately , main problem is actual. I stll can delete as a
anonymous all files and directories from /home/ftp which after chroot is
/ for anonymous.

Here is my group file:


root:S-1-5-32-544:0:
Wszyscy:S-1-1-0:0:
SYSTEM:S-1-5-18:18:
Brak:S-1-5-21-1309239993-2107901829-782984527-513:513:
Administratorzy:S-1-5-32-544:544:
Operatorzy kopii zapasowych:S-1-5-32-551:551:
Replikator:S-1-5-32-552:552:
guests:S-1-5-21-1309239993-2107901829-782984527-1008:1008:
users:S-1-5-21-1309239993-2107901829-782984527-1007:1007:
users advanced:S-1-5-21-1309239993-2107901829-782984527-1009:1009:


What concers this "magic" uid 100 and group 10 it is taken fro example
given by DJ Delorie
in "Cygwin User's Guide"

Jacek

Corinna Vinschen wrote:
> 
> On Thu, Mar 29, 2001 at 10:25:30AM +0200, Jacek Trzcinski wrote:
> > Hi !
> > I have just testing setting anonymous ftp under cygwin. I have few
> > remarks
> > 1) My "ftp" user has to posses the same uid as user "guest" but gid may
> > be any. if uid is not equal
> >    to "guest" uid then error "can not set uid" appeared under ftp
> > client. In description concerning ftp
> >    daemon there was example where ftp user had uid=100 and gid=10. It of
> > course does not work at me.
> >    Where is mistake ?
> 
> Sorry, I don't understand your description.
> 
> > 2) Rights problem. I utilize in my system "ntsec" switch. When I'm
> > logging via ftp to my cygwin ftp daemon as for example user "jacek" ,
> > rights to files and directories displaying by "ls -al" seem to look OK.
> > If locally being "root" I set owner as "root" and group as "root" to any
> > file or directory , ls for ftp user "jacek" displays it but... even if
> > only user "root" has right to write to any file and directory and "root"
> > is its owner , I can as a user "jacek" via ftp to delete this file or
> > directory !!!
> 
> Is your user `jacek' member of the administrators group?
> 
> > If I'm logging to my ftpd daemon as a "anonymous" user then "ls -al"
> > shows that owner of the file is not "root" but "guest" !!! and group is
> > not "root" but "Administ". Without any problem I can delete
> > anything !!!. Where are errors ?
> 
> anonymous ftp does work in a chroot environment. If you don't duplicate
> the /etc/passwd file to /home/ftp/etc/passwd, Cygwin can't determine
> the user info correctly. I'm not quite sure why it may delete everything.
> Does it have ownership and write access to it's own home dir?
> 
> > Here I show my passwd file
> 
> I'm missing /etc/group. It's not that important but it sometimes
> helps to analyze the situation.
> 
> Corinna
> 
> >
> > root::0:0:root for
> > cygwin,U-Administrator,S-1-5-21-1309239993-2107901829-782984527-500:/home/root:/bin/bash
> > SYSTEM:*:18:18:,S-1-5-18::
> > Administratorzy:*:544:544:,S-1-5-32-544::
> > Administrator::500:513:,S-1-5-21-1309239993-2107901829-782984527-500:/home/Administrator:/bin/false
> > guest::501:513:,S-1-5-21-1309239993-2107901829-782984527-501:/home/guest:/bin/false
> > IUSR_JNTPRACA::1010:513:Konto Internet
> > Guest,S-1-5-21-1309239993-2107901829-782984527-1010:/home/IUSR_JNTPRACA:/bin/false
> > jacek::1004:513:Jacek
> > TrzciDski,S-1-5-21-1309239993-2107901829-782984527-1004:/home/jacek:/bin/bash
> > ftp::501:10:anonymous ftp for
> > cygwin,U-guest,S-1-5-21-1309239993-2107901829-782984527-501:/home/ftp:/bin/bash
> >
> >
> > Thanks in advance
> > Jacek
> >
> > --
> > Want to unsubscribe from this list?
> > Check out: http://cygwin.com/ml/#unsubscribe-simple
> 
> --
> 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

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: anonymous ftp
  2001-03-29 11:49 anonymous ftp Jacek Trzcinski
@ 2001-03-30  0:26 ` Corinna Vinschen
  2001-03-30  2:45   ` Jacek Trzcinski
  0 siblings, 1 reply; 11+ messages in thread
From: Corinna Vinschen @ 2001-03-30  0:26 UTC (permalink / raw)
  To: cygwin

On Thu, Mar 29, 2001 at 10:25:30AM +0200, Jacek Trzcinski wrote:
> Hi !
> I have just testing setting anonymous ftp under cygwin. I have few
> remarks
> 1) My "ftp" user has to posses the same uid as user "guest" but gid may
> be any. if uid is not equal
>    to "guest" uid then error "can not set uid" appeared under ftp
> client. In description concerning ftp
>    daemon there was example where ftp user had uid=100 and gid=10. It of
> course does not work at me.
>    Where is mistake ?

Sorry, I don't understand your description.

> 2) Rights problem. I utilize in my system "ntsec" switch. When I'm
> logging via ftp to my cygwin ftp daemon as for example user "jacek" ,
> rights to files and directories displaying by "ls -al" seem to look OK.
> If locally being "root" I set owner as "root" and group as "root" to any
> file or directory , ls for ftp user "jacek" displays it but... even if
> only user "root" has right to write to any file and directory and "root"
> is its owner , I can as a user "jacek" via ftp to delete this file or
> directory !!!

Is your user `jacek' member of the administrators group?

> If I'm logging to my ftpd daemon as a "anonymous" user then "ls -al"
> shows that owner of the file is not "root" but "guest" !!! and group is
> not "root" but "Administ". Without any problem I can delete
> anything !!!. Where are errors ?

anonymous ftp does work in a chroot environment. If you don't duplicate
the /etc/passwd file to /home/ftp/etc/passwd, Cygwin can't determine
the user info correctly. I'm not quite sure why it may delete everything.
Does it have ownership and write access to it's own home dir?

> Here I show my passwd file

I'm missing /etc/group. It's not that important but it sometimes
helps to analyze the situation.

Corinna

> 
> root::0:0:root for
> cygwin,U-Administrator,S-1-5-21-1309239993-2107901829-782984527-500:/home/root:/bin/bash
> SYSTEM:*:18:18:,S-1-5-18::
> Administratorzy:*:544:544:,S-1-5-32-544::
> Administrator::500:513:,S-1-5-21-1309239993-2107901829-782984527-500:/home/Administrator:/bin/false
> guest::501:513:,S-1-5-21-1309239993-2107901829-782984527-501:/home/guest:/bin/false
> IUSR_JNTPRACA::1010:513:Konto Internet
> Guest,S-1-5-21-1309239993-2107901829-782984527-1010:/home/IUSR_JNTPRACA:/bin/false
> jacek::1004:513:Jacek
> TrzciDski,S-1-5-21-1309239993-2107901829-782984527-1004:/home/jacek:/bin/bash
> ftp::501:10:anonymous ftp for
> cygwin,U-guest,S-1-5-21-1309239993-2107901829-782984527-501:/home/ftp:/bin/bash
> 
> 
> Thanks in advance
> Jacek
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

-- 
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] 11+ messages in thread

* anonymous ftp
@ 2001-03-29 11:49 Jacek Trzcinski
  2001-03-30  0:26 ` Corinna Vinschen
  0 siblings, 1 reply; 11+ messages in thread
From: Jacek Trzcinski @ 2001-03-29 11:49 UTC (permalink / raw)
  To: cygwin

Hi !
I have just testing setting anonymous ftp under cygwin. I have few
remarks
1) My "ftp" user has to posses the same uid as user "guest" but gid may
be any. if uid is not equal
   to "guest" uid then error "can not set uid" appeared under ftp
client. In description concerning ftp
   daemon there was example where ftp user had uid=100 and gid=10. It of
course does not work at me.
   Where is mistake ?

2) Rights problem. I utilize in my system "ntsec" switch. When I'm
logging via ftp to my cygwin ftp daemon as for example user "jacek" ,
rights to files and directories displaying by "ls -al" seem to look OK.
If locally being "root" I set owner as "root" and group as "root" to any
file or directory , ls for ftp user "jacek" displays it but... even if
only user "root" has right to write to any file and directory and "root"
is its owner , I can as a user "jacek" via ftp to delete this file or
directory !!!
If I'm logging to my ftpd daemon as a "anonymous" user then "ls -al"
shows that owner of the file is not "root" but "guest" !!! and group is
not "root" but "Administ". Without any problem I can delete
anything !!!. Where are errors ?

Here I show my passwd file

root::0:0:root for
cygwin,U-Administrator,S-1-5-21-1309239993-2107901829-782984527-500:/home/root:/bin/bash
SYSTEM:*:18:18:,S-1-5-18::
Administratorzy:*:544:544:,S-1-5-32-544::
Administrator::500:513:,S-1-5-21-1309239993-2107901829-782984527-500:/home/Administrator:/bin/false
guest::501:513:,S-1-5-21-1309239993-2107901829-782984527-501:/home/guest:/bin/false
IUSR_JNTPRACA::1010:513:Konto Internet
Guest,S-1-5-21-1309239993-2107901829-782984527-1010:/home/IUSR_JNTPRACA:/bin/false
jacek::1004:513:Jacek
TrzciDski,S-1-5-21-1309239993-2107901829-782984527-1004:/home/jacek:/bin/bash
ftp::501:10:anonymous ftp for
cygwin,U-guest,S-1-5-21-1309239993-2107901829-782984527-501:/home/ftp:/bin/bash


Thanks in advance
Jacek

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-08-05 16:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-23  8:24 Anonymous FTP David A. Cobb
2001-01-23  8:31 ` Christopher Faylor
2001-01-23  9:31   ` Earnie Boyd
2001-01-23 12:46     ` Robert Collins
2001-03-29 11:49 anonymous ftp Jacek Trzcinski
2001-03-30  0:26 ` Corinna Vinschen
2001-03-30  2:45   ` Jacek Trzcinski
2002-08-05  5:37 Anonymous ftp Corwin
2002-08-05  6:13 ` Stephen C. Biggs
2002-08-05  9:37   ` Ton van Vliet
2002-08-05 10:00     ` Christopher Faylor

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).