AIX ftp 530 User root access denied

AIX服务器ftp没法登录提示530 User root access deniedshell

aix ftp登陆过程涉及到如下三个文件bash

/etc/passwd
/etc/ftpusers
/etc/security/login.cfg

出现此错误可能有两个缘由:服务器

一、ftpusers中包含root用户;code

二、passwd文件中指定的shell与login.cfg中配置的不符;it

定位问题:class

确认/etc/ftpusers不存在;passwd文件中root的用户为root:!:0:0::/:/usr/bin/ksh,原来是以前在Aix上安装了bash,但login.cfg文件中不存在路径/usr/bin/bash。登录

解决方式:
修改login.cfg,shell中加入 /usr/bin/bashftp

相关文章
相关标签/搜索