Date: Wed, 23 May 2001 09:51:51 -0600 From: Peter <fbsdq@yahoo.com> To: lucas@slb.to, "lucas@slb.to" <lucas@slb.to>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: ftpd connections viewable via who Message-ID: <SAK.2001.05.23.cnaobbsl@support10>
next in thread | raw e-mail | index | archive | help
Another thing to try is using the 'last |grep ftp' command, what this will do is show who was logged into ftp, and if they are still logged in. [at least in Solaris 8, no FBSD box handy, please correct if I'm wrong] Another note, using the device snp [snoop device to spy on other peoples sessions] Is it possible to spy on an ftp session? On 05/23/2001 9:02:00 AM, Lucas Bergman is quoted as saying: . . . .|> 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 www.nul.cjb.net www.FreeBSD.org _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SAK.2001.05.23.cnaobbsl>