pk@unidoct.chemietechnik.uni-dortmund.de (Peter Koch) (10/26/90)
I want to install anonymous ftp on our HP9000/840 running HPUX3.1 . I tried to find out how to log the incoming passwords for users 'ftp' and/or 'anonymous', which usually should be <user>@<host>. I did not manage that, but I found out, that creating /usr/adm/wtmp as a regular file or better as a symbolic link to /etc/wtmp will enable ftp-logging on per-user-basis (works fine on s300/HPUX6.5,too). In the first case You can use 'who /usr/adm/wtmp' to see who was on Your machine using 'ftp', in the second case simply use 'last'. I have seen this on Sun-machines before and missed it here. Maybe it is supported officialy "in the next major release" ? Back to my problem: The above works for anonymous ftp, if usr/adm/wtmp is created relatively to ~ftp, but it does not give the information I want. So is there a way to get it, and, besides, are there any HPUX-specific security objections I should know about ? Peter -- Peter Koch EUnet: pk@unidoct.chemietechnik.uni-dortmund.de Fachbereich Chemietechnik Universitaet Dortmund 4600 Dortmund 50 Tel.: +49 231 755 2633
jsadler@misty.boeing.com (Jim Sadler) (10/27/90)
> >I tried to find out how to log the incoming passwords for users 'ftp' >and/or 'anonymous', which usually should be <user>@<host>. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I've wanted this for quite awhile and haven't found how to do it yet. > >I did not manage that, but I found out, that creating /usr/adm/wtmp as a >regular file or better as a symbolic link to /etc/wtmp will enable ftp-logging >on per-user-basis (works fine on s300/HPUX6.5,too). In the first case You >can use 'who /usr/adm/wtmp' to see who was on Your machine using 'ftp', in the >second case simply use 'last'. > >I have seen this on Sun-machines before and missed it here. >Maybe it is supported officialy "in the next major release" ? > >Back to my problem: The above works for anonymous ftp, if usr/adm/wtmp >is created relatively to ~ftp, but it does not give the information I want. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I attempted this and couldn't get it to work. I'm using an 825 and 7.0. Could you provide more info. This would be useful. > >So is there a way to get it, and, besides, are there any HPUX-specific >security objections I should know about ? Me too !!! > > Peter >-- >Peter Koch EUnet: pk@unidoct.chemietechnik.uni-dortmund.de >Fachbereich Chemietechnik >Universitaet Dortmund >4600 Dortmund 50 Tel.: +49 231 755 2633 >---------- jim sadler 206-234-9009 email uunet!bcstec!jsadler | jsadler@misty.boeing.com
hans@inmic.se (Hans Berggren) (11/06/90)
A version of ftpd which logs connections as follows Nov 6 16:05:58 eos ftpd[1204]: connection from had at Tue Nov 6 16:05:58 1990 Nov 6 16:06:06 eos ftpd[1204]: ANONYMOUS FTP LOGIN FROM had, hans@inmic.se in syslog is available via anonymous ftp from eos.inmic.se (130.237.214.90). Look in directory archive/hp-ux We are using this ftpd and it works fine, both on series 300 and 800. The HP-UX version we are running is 7.0 on both series, but this ftpd also works on 3.1 and 6.5. --Hans -- Hans Berggren Swedish Institute of Microelectronics, IM PO Box 1084, S-164 21 KISTA, SWEDEN Tel: +46 8 752 10 00 Telex: 128 75 INMIC S Fax: +46 8 750 54 30 UUCP: {uunet,mcsun,munnari,ukc,unido}!sunic!inmic.se!hans Internet: hans@inmic.se