Re: ftp returns error get_auth_methods failed 5 Paul Smith wrote:
> I am running AIX 5.1.
> As a non-root user, I am not able to ftp to any machine. I get the
> error:
>
> Connected to <remote-machine>
> 220 <remote-machine> FTP Server (...) ready.
> ftp: get_auth_methods() failed 5
> Permission denied
>
> I can telnet,rsh etc from the box.
> I can ftp from the box as the root user.
>
> If I run lsauthent as non-root user, it returns nothing.
> If I run it as root user it returns:
> Standard Aix
>
> I think that is the cause of my problem - why is there no
> authentication method set up for non-root users?
>
> I don't know what other information I should provide for this problem.
> The /etc/security/user file has auth1 set to SYSTEM which is not
> overridden for the non-root user. There is no $HOME/.netrc files
> present. I have another box running the same version of AIX and ftp
> works fine for that. However, on that machine lsauthent returns
> "Standard Aix" when run by a non-root user.
>
> Any help greatly appreciated.
> Cheers,
> Paul
tried running
chauthent -std
and the failing node as root again?
you must fix the problem that lsauthent does not return anything for
non-root users |