* Anonymous FTP
@ 1996-03-25 5:00 Andrea Mazzai
1996-03-25 5:00 ` Mike Iglesias
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Andrea Mazzai @ 1996-03-25 5:00 UTC (permalink / raw)
Hi to everybody.
How do I setup an anonymous FTP user for my Digital UNIX 3.2c Internet
server? I have tried with "adduser anonymous" but the system replies
that the name is too long - it should be 8 chars or less.
Any suggestion welcome, as I am in trouble with this Internet
AlphaServer.
Thank you very much.
Andrea.
--
Digitronica SpA |TEL +39 45 851 0900
Via Bresciana 71/b |FAX +39 45 851 0909
37139 Verona italy |BBS +39 45 851 0972
===================+===================
EMail: andrea.mazzai@digitronica.it
WWW: http://www.digitronica.it
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: Anonymous FTP
1996-03-25 5:00 Anonymous FTP Andrea Mazzai
@ 1996-03-25 5:00 ` Mike Iglesias
1996-03-27 5:00 ` Peter Mayne
1996-04-01 5:00 ` Christian Koenigseder
2 siblings, 0 replies; 11+ messages in thread
From: Mike Iglesias @ 1996-03-25 5:00 UTC (permalink / raw)
In article <3156DCC6.737E@digitronica.it>,
Andrea Mazzai <andrea.mazzai@digitronica.it> wrote:
>Hi to everybody.
>
>How do I setup an anonymous FTP user for my Digital UNIX 3.2c Internet
>server? I have tried with "adduser anonymous" but the system replies
>that the name is too long - it should be 8 chars or less.
Take a look at the ftpd(8) man page - it tells how to setup anonymous
ftp (the user you want to add is "ftp", not "anonymous"). Be very careful
about which directories you have owned by the ftp user, as they can be
fiddled with by people intent on distributing pirated software. I don't
keep a copy of passwd or group in our anonymous ftp area - it's not really
necessary unless you really want to show who owns a file, and if you put
in a real passwd file, don't leave the encrypted passwords there. Putting
in a real passwd file could give hackers leads on accounts to try to break
in to.
Also, you might want to get a copy of the wuarchive ftpd from
wuarchive.wustl.edu. It has a lot of useful features for anonymous ftp
sites that will help keep your system from being used to distribute pirated
software.
--
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine phone: (714) 824-6926
Office of Academic Computing FAX: (714) 824-2069
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Anonymous FTP
1996-03-25 5:00 Anonymous FTP Andrea Mazzai
1996-03-25 5:00 ` Mike Iglesias
@ 1996-03-27 5:00 ` Peter Mayne
1996-04-01 5:00 ` Christian Koenigseder
2 siblings, 0 replies; 11+ messages in thread
From: Peter Mayne @ 1996-03-27 5:00 UTC (permalink / raw)
Andrea Mazzai wrote:
>
> Hi to everybody.
>
> How do I setup an anonymous FTP user for my Digital UNIX 3.2c Internet
> server? I have tried with "adduser anonymous" but the system replies
> that the name is too long - it should be 8 chars or less.
Look at man ftpd(8).
--
PJDM
Peter Mayne
Digital Equipment Corporation (Australia)
Canberra, ACT
----
These are my opinions, and have nothing to do with Digital.
The truth is out there, but not necessarily in here.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Anonymous FTP
1996-03-25 5:00 Anonymous FTP Andrea Mazzai
1996-03-25 5:00 ` Mike Iglesias
1996-03-27 5:00 ` Peter Mayne
@ 1996-04-01 5:00 ` Christian Koenigseder
2 siblings, 0 replies; 11+ messages in thread
From: Christian Koenigseder @ 1996-04-01 5:00 UTC (permalink / raw)
>>> On Mon, 25 Mar 1996 18:49:58 +0100, Andrea Mazzai <andrea.mazzai@digitronica.it> said:
In article <3156DCC6.737E@digitronica.it> Andrea Mazzai <andrea.mazzai@digitronica.it> writes:
AM> Hi to everybody. How do I setup an anonymous FTP user for my
AM> Digital UNIX 3.2c Internet server? I have tried with "adduser
AM> anonymous" but the system replies that the name is too long - it
AM> should be 8 chars or less.
Just read "man ftpd" and you will be able to do it!!!!!!!!!!
--
Christian Koenigseder UNIX-System & Network Manager
Umweltschutzreferat LHM Tel/Fax: +49 89 233-23619/-23442
Bayerstr. 28a E-mail: koenigse@umw.cube.net
80335 Muenchen, Germany Public PGP-Key on request
^ permalink raw reply [flat|nested] 11+ messages in thread
* Anonymous FTP
@ 1993-10-06 18:01 Keith Scollick
1993-10-07 1:18 ` Eiji Hirai
` (3 more replies)
0 siblings, 4 replies; 11+ messages in thread
From: Keith Scollick @ 1993-10-06 18:01 UTC (permalink / raw)
1~
Has anyone out there setup an anonymous ftp account on their machine?
I tried here, but I have a problem with getting the dir command to
work. I get the error:
/bin/ls: Exec format error
The ls command by itself is fine, it's just the dir command that seems
to be having problems. Is there a fix to this? Please respond
if you know.
Thanks,
--Keith Scollick
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: Anonymous FTP
1993-10-06 18:01 Keith Scollick
@ 1993-10-07 1:18 ` Eiji Hirai
1993-10-07 10:31 ` Mark Bartelt
1993-10-07 10:42 ` Matt Thomas
` (2 subsequent siblings)
3 siblings, 1 reply; 11+ messages in thread
From: Eiji Hirai @ 1993-10-07 1:18 UTC (permalink / raw)
scollick@antwrp.enemy.gsfc.nasa.gov (Keith Scollick) writes:
: I tried here, but I have a problem with getting the dir command to
: work. I get the error:
: /bin/ls: Exec format error
: The ls command by itself is fine, it's just the dir command that seems
: to be having problems.
Sounds like ~ftp/bin/ls is not behaving properly. Make sure that when you
say "the ls command by itself is fine" that you mean "~ftp/bin/ls works
fine" and not "/usr/bin/ls works fine" and not "ls within ftp works fine if
I login as myself and not anonymously".
Also, did you just copy /usr/bin/ls to ~ftp/bin/ls? What you'll need is a
static-ly linked version of ls. Get a copy you can compile from
prep.ai.mit.edu:/pub/gnu/fileutils-3.6.tar.gz
link ls with -non_shared and install that in ~ftp/bin/.
--
hirai@cc.swarthmore.edu (Eiji Hirai) | Unix Geek for Swarthmore College
I don't speak for Swarthmore College | Computing Center, Swarthmore, PA, USA
"I post, therefore I am." -Rene Descartes on Usenet
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: Anonymous FTP
1993-10-07 1:18 ` Eiji Hirai
@ 1993-10-07 10:31 ` Mark Bartelt
1993-10-07 17:19 ` Jeff Carter
0 siblings, 1 reply; 11+ messages in thread
From: Mark Bartelt @ 1993-10-07 10:31 UTC (permalink / raw)
Keith Scollick reported that ...
| I tried here, but I have a problem with getting the dir command to
| work. I get the error:
| /bin/ls: Exec format error
| The ls command by itself is fine, it's just the dir command that seems
| to be having problems.
... to which Eiji Hirai replied ...
| Sounds like ~ftp/bin/ls is not behaving properly. Make sure that when you
| say "the ls command by itself is fine" that you mean "~ftp/bin/ls works
| fine" and not "/usr/bin/ls works fine" and not "ls within ftp works fine if
| I login as myself and not anonymously".
|
| Also, did you just copy /usr/bin/ls to ~ftp/bin/ls? What you'll need is a
| static-ly linked version of ls. Get a copy you can compile from
|
| prep.ai.mit.edu:/pub/gnu/fileutils-3.6.tar.gz
|
| link ls with -non_shared and install that in ~ftp/bin/.
An even easier thing to do is copy /sbin/ls to ~ftp/bin, since the "ls" in
/sbin *is* statically linked.
Mark Bartelt 416/978-5619
Canadian Institute for mark@cita.toronto.edu
Theoretical Astrophysics mark@cita.utoronto.ca
"Clothes not busy being worn are busy drying." - Dylan, on laundry day
[ singing "It's all right, ma (I'm only bleaching)" ]
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: Anonymous FTP
1993-10-07 10:31 ` Mark Bartelt
@ 1993-10-07 17:19 ` Jeff Carter
0 siblings, 0 replies; 11+ messages in thread
From: Jeff Carter @ 1993-10-07 17:19 UTC (permalink / raw)
In article <CEIvwp.LCC@helios.physics.utoronto.ca>, sysmark@helios.physics.utoronto.ca (Mark Bartelt) writes:
> Keith Scollick reported that ...
>
> | I tried here, but I have a problem with getting the dir command to
> | work. I get the error:
> | /bin/ls: Exec format error
> | The ls command by itself is fine, it's just the dir command that seems
> | to be having problems.
>
> ... to which Eiji Hirai replied ...
>
> ...
> |
> | Also, did you just copy /usr/bin/ls to ~ftp/bin/ls? What you'll need is a
> | static-ly linked version of ls. Get a copy you can compile from
> |
> | prep.ai.mit.edu:/pub/gnu/fileutils-3.6.tar.gz
> |
> | link ls with -non_shared and install that in ~ftp/bin/.
>
> An even easier thing to do is copy /sbin/ls to ~ftp/bin, since the "ls" in
> /sbin *is* statically linked.
In _some_ versions of OSF/1, the /sbin directory has been made largely
shared. If this is the case, then /sbin/ls is a shared-library executable,
and there is a copy of a preloaded libc.so in /loader. If this is the
case on your system, you will need to copy the following files to the
"ftp root"
/loader/* => ~ftp/var/adm/loader/
/sbin/loader => ~ftp/sbin/loader
/sbin/ls => ~ftp/bin/ls
You won't need libc.so.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Anonymous FTP
1993-10-06 18:01 Keith Scollick
1993-10-07 1:18 ` Eiji Hirai
@ 1993-10-07 10:42 ` Matt Thomas
1993-10-07 13:29 ` Mike Salehi
1993-10-07 13:43 ` Mike Salehi
3 siblings, 0 replies; 11+ messages in thread
From: Matt Thomas @ 1993-10-07 10:42 UTC (permalink / raw)
In article <SCOLLICK.93Oct6140103@antwrp.enemy.gsfc.nasa.gov>, scollick@antwrp.enemy.gsfc.nasa.gov (Keith Scollick) writes:
|>Has anyone out there setup an anonymous ftp account on their machine?
|>I tried here, but I have a problem with getting the dir command to
|>work. I get the error:
|> /bin/ls: Exec format error
|>The ls command by itself is fine, it's just the dir command that seems
|>to be having problems. Is there a fix to this? Please respond
|>if you know.
Use /sbin/ls instead of /usr/bin/ls. Since ftpd does chroot(2), if use
use the /usr/bin executeables you also need to replicate the shareable
libraries and the loader that allows them to run. That's probably too
much effort so it's easier to use the non-shared version in /sbin.
--
Matt Thomas Internet: thomas@lkg.dec.com
U*X Networking UUCP: ...!decwrl!thomas
Digital Equipment Corporation Disclaimer: This message reflects my own
Littleton, MA warped views, etc.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Anonymous FTP
1993-10-06 18:01 Keith Scollick
1993-10-07 1:18 ` Eiji Hirai
1993-10-07 10:42 ` Matt Thomas
@ 1993-10-07 13:29 ` Mike Salehi
1993-10-07 13:43 ` Mike Salehi
3 siblings, 0 replies; 11+ messages in thread
From: Mike Salehi @ 1993-10-07 13:29 UTC (permalink / raw)
Keith,
I have anonymous ftp working find on my box, its running OSF1.3, you
did not mention your version. I am pretty sure it was OK on 1.2 also.
Anyway I think your problem is because there should be three
directories under ftp and also make sure ftp is in passwd file.
ls -lR /home/ftp
drwxr-xr-x 2 root ftp 512 Oct 07 09:15 bin
drwxr-xr-x 2 root ftp 512 Oct 07 09:17 etc
drwxrwxrwx 2 root ftp 512 Oct 07 09:15 pub
/bin:
total 232
-rwxr-x--- 1 root ftp 229376 Oct 07 09:15 ls
/etc:
total 2
-r--r--r-- 1 root ftp 13 Oct 07 09:18 group
-r--r--r-- 1 root ftp 54 Oct 07 09:18 passwd
Mike
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: Anonymous FTP
1993-10-06 18:01 Keith Scollick
` (2 preceding siblings ...)
1993-10-07 13:29 ` Mike Salehi
@ 1993-10-07 13:43 ` Mike Salehi
3 siblings, 0 replies; 11+ messages in thread
From: Mike Salehi @ 1993-10-07 13:43 UTC (permalink / raw)
I just posted an article about the anonymous ftp anyway the ownerships of
the ftp directories, anyway the pub should not be owned by root so here
is modified version
# ls -lR
total 3
drwxr-xr-x 2 root ftp 512 Oct 07 09:15 bin
drwxr-xr-x 2 root ftp 512 Oct 07 09:17 etc
drwxrwxrwx 2 ftp ftp 512 Oct 07 09:15 pub
/bin:
total 232
-rwxr-xr-- 1 root ftp 229376 Oct 07 09:15 ls
/etc:
total 2
-r--r--r-- 1 root ftp 13 Oct 07 09:18 group
-r--r--r-- 1 root ftp 54 Oct 07 09:18 passwd
/pub:
total 0
Mike
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~1996-04-01 5:00 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-25 5:00 Anonymous FTP Andrea Mazzai
1996-03-25 5:00 ` Mike Iglesias
1996-03-27 5:00 ` Peter Mayne
1996-04-01 5:00 ` Christian Koenigseder
-- strict thread matches above, loose matches on Subject: below --
1993-10-06 18:01 Keith Scollick
1993-10-07 1:18 ` Eiji Hirai
1993-10-07 10:31 ` Mark Bartelt
1993-10-07 17:19 ` Jeff Carter
1993-10-07 10:42 ` Matt Thomas
1993-10-07 13:29 ` Mike Salehi
1993-10-07 13:43 ` Mike Salehi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox