🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.security.misc
3 messages
3 total messages Started by Douglas Floyd Tue, 10 Nov 1992 20:56
Grabbing your pw file from anonymous FTP
#504
Author: Douglas Floyd
Date: Tue, 10 Nov 1992 20:56
14 lines
1009 bytes
  What keeps any person who can anonymous ftp from going down your
etc directory and grabbing the passwd file?  Does ftp log this?  I
know that some Unix systems use a chroot system to lock anonymous
ftp users into a restricted section of the directory.  Do all
ftp systems do this?

adTHANKSvance,

-- 
******* ifbb657@ccwf.cc.utexas.edu (Douglas R. Floyd) ******
            Disclaimer: I speak for myself.

            Please, no NeXTMail at this time.
Re: Grabbing your pw file from anonymous FTP
#506
Author: Barry Margolin
Date: Wed, 11 Nov 1992 00:19
18 lines
1167 bytes
In article <83347@ut-emx.uucp> ifbb657@ccwf.cc.utexas.edu (Douglas Floyd) writes:
>  What keeps any person who can anonymous ftp from going down your
>etc directory and grabbing the passwd file?  Does ftp log this?  I
>know that some Unix systems use a chroot system to lock anonymous
>ftp users into a restricted section of the directory.  Do all
>ftp systems do this?

Most Unix anonymous FTP servers use chroot() to limit the access of
anonymous FTP.  The /etc/passwd file it has access to is usually a minimal
version.

If you have a system that doesn't use chroot() for anonymous FTP, maybe it
has shadow passwords.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
Re: Grabbing your pw file from anonymous FTP
#703
Author: Graham Toal
Date: Mon, 16 Nov 1992 00:17
23 lines
1516 bytes
In article <83347@ut-emx.uucp> ifbb657@ccwf.cc.utexas.edu (Douglas Floyd) writes:
>  What keeps any person who can anonymous ftp from going down your
>etc directory and grabbing the passwd file?  Does ftp log this?  I
>know that some Unix systems use a chroot system to lock anonymous
>ftp users into a restricted section of the directory.  Do all
>ftp systems do this?

No, they don't all do it but you'd be hard pressed nowadays to find one
that didn't.  Anyway, most unixes are set up on the principle that
people *can* snarf your password file.  If you're a security-by-obscurity
fanatic, you might as well go the whole hog and get a shadow password
suite.

On the flavour of unix that I run, I haven't worked out how to get
it to log transfers except by turning ftpd debugging on (-d).  A bit
verbose, but it gives me what I want.

(I have moral objections to logging anonymous ftp transfers on public
sites, but this is *my* machine, and I have no public archives and
no users who would be ftp'ing in)

G
-- 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads