[Info-vax] Need to set up a special purpose account
Tom Adams
tadamsmar at gmail.com
Fri Oct 7 15:28:31 EDT 2016
On Friday, October 7, 2016 at 2:56:06 PM UTC-4, Steven Schweda wrote:
> > If I set the ANONYMOUS account [...]
>
> I would avoid fiddling around with what was probably a
> perfectly valid ANONYMOUS account. Might be best to delete
> it, and let the TCPIP configurator make it (right) again.
>
> > > As usual, showing actual commands with their actual output
> > > can be more helpful than vague descriptions or
> > > interpretations.
> >
> > There is only one command: @tcpip$config
>
> > But I cannot login via ftp.
>
> Apparently, you read that advice about actual commands and
> actual output, but just as apparently, it didn't stick. "I
> cannot" is not a useful problem description. It does not say
> what you did. It does not say what happened when you did it.
>
> > I looked at the log file for anonymous. It is empty.
>
> With my weak psychic powers, I don't know what "the log
> file for anonymous" means to you. I seem to have missed
> where you revealed which TCPIP version you're running, but
> around here there is a general FTP log file, and an anonymous
> FTP log file. I have convenient logical names defined, so
> that I can find them easily:
>
> "AFTPLOG" = "sys$sysdevice:[tcpip$ftp]tcpip$ftp_anonymous.log"
> "FTPLOG" = "sys$sysdevice:[tcpip$ftp]tcpip$ftp_run.log"
>
> I'd look at both.
>
> > I even tried setting local and remote. I still could not
> > login.
> >
> > But I mean that I cannot connect with ftp.
>
> Again, showing actual commands with their actual output
> can be more helpful than vague descriptions or
> interpretations. (He said, again, to the wall.) Around
> here, for example, where the stuff just works:
>
> ALP $ ftp alp-l
> 220- Antinode FTP Server. Please be nice.
> 220 alp.antinode.info FTP Server (Version 5.7) Ready.
> Connected to alp.
> Name (alp:system): anonymous
> 331 Guest login OK, send ident as password.
> Password: [I typed "fred".]
> 230- Using a Web browser and having problems?
> Try using a better and/or simpler FTP client.
> Alternatively, use HTTP instead of FTP:
> ftp://antinode.info/something ->
> http://antinode.info/ftp/something
> 230 Guest login OK, access restrictions apply.
> FTP> quit
> 221 Goodbye.
>
>
> This adds the following to FTPLOG:
>
> %TCPIP-I-FTP_SESCON, FTP SERVER: session connection from
> 10.0.0.9 at 7-OCT-2016 11:21:48.99
> %TCPIP-I-FTP_USER, user name: ANONYMOUS
> %TCPIP-I-FTP_SESDCN, FTP SERVER: session disconnection from
> 10.0.0.9 at 7-OCT-2016 11:21:58.22
> %TCPIP-I-FTP_SESCON, FTP SERVER: session connection from
> 10.0.0.9 at 7-OCT-2016 13:45:33.94
>
> And the following to AFTPLOG:
>
> 7-OCT-2016 13:45:43.94 User:anonymous logged in ident:fred from Host:10.0.0.9
> 7-OCT-2016 13:46:58.40 User:anonymous ident:fred logged out
>
>
> Wow. That new copy+paste technology is a miracle.
Thanks!
I was not looking at the run log. Here's what I find:
%TCPIP-I-FTP_CHINFO, TCPIP$FTPC0001C: Failed to open anonymous log
%RMS-E-PRV, insufficient privilege or file protection violation
%TCPIP-E-FTP_LOGFAL, remote interactive login failure anonymous
-TCPIP-I-FTP_NODE, client host name: EESL.nheerl.epa.gov
-RMS-E-PRV, insufficient privilege or file protection violation
I tried renaming the anonymous log and I get the same message.
So, it can't write in that directory for some reason.
Here info on protection and owner:
$ dir [000000]ucx$ftp.dir/prot/owner
Directory SYS$SYSDEVICE:[000000]
UCX$FTP.DIR;1 [UCX$AUX,UCX$FTP] (RWE,RWE,RE,E)
Total of 1 file.
$ dir *anon*/prot/owner
Directory SYS$SYSDEVICE:[UCX$FTP]
UCX$FTP_ANONYMOUS.LOGSAV;1
[UCX$AUX,UCX$FTP] (RWED,RWED,RE,)
Total of 1 file.
$
Seems like those would be OK.
FTP_ANONYMOUS.LOG is an old file from way back, created a long time ago. Not sure the story on when it was created.
More information about the Info-vax
mailing list