From owner-freebsd-questions Wed May 23 8: 1:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dsl-64-193-218-89.telocity.com (dsl-64-193-218-89.telocity.com [64.193.218.89]) by hub.freebsd.org (Postfix) with SMTP id D3B1E37B422 for ; Wed, 23 May 2001 08:01:42 -0700 (PDT) (envelope-from lucas@slb.to) Received: (qmail 28 invoked by uid 1000); 23 May 2001 15:02:00 -0000 Date: Wed, 23 May 2001 10:02:00 -0500 From: Lucas Bergman To: Jason Hunt Cc: freebsd-questions@freebsd.org Subject: Re: ftpd connections viewable via who Message-ID: <20010523100200.B6091@billygoat.slb.to> Reply-To: lucas@slb.to References: <3B0BB80C.8A88C0FB@niicommunications.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B0BB80C.8A88C0FB@niicommunications.com>; from jason.hunt@niicommunications.com on Wed, May 23, 2001 at 08:15:56AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > In OpenBSD you can supply a switch to view who is connected via ftp > using the who command. Don't use FTP for non-public file transfers. It's not secure. > Is this possible in FreeBSD? No, AFAIK. This works, though: $ ps ax|grep ftpd|grep -v grep|awk -F": " '{print $3}'|egrep -v ^\$ If you like, put something like that in a script, and call it 'whoftp'. Lucas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message