AIX: ftp login fails if user uses a non-standard shell
Someday, you may have the following problem: your machine works fine, everything is ok, the users are happy - but somedays, one user trys to connect to the machine via ftp, and he gets the following error:
ftp: Login failed.
Well, if you have an out-of-the-box AIX configuration and you try to connect to ftp as root, it works fine.
Assuming that you are an experienced unix admin, you look at the users login shell settings - and there you may find a non-standard login-shell, so you put this into /etc/shells, as known from other unix systems.
This is nothing very exciting until now, but - surprise: the logon still fails!
But you can be happy, because the solution is very simple: look into /etc/security, there you will find a file named login.cfg, which contains a line beginning with shells = , followed by all standard systems shells. Put the shell used by the user into this line, and ftp will work.
ftp: Login failed.
Well, if you have an out-of-the-box AIX configuration and you try to connect to ftp as root, it works fine.
Assuming that you are an experienced unix admin, you look at the users login shell settings - and there you may find a non-standard login-shell, so you put this into /etc/shells, as known from other unix systems.
This is nothing very exciting until now, but - surprise: the logon still fails!
But you can be happy, because the solution is very simple: look into /etc/security, there you will find a file named login.cfg, which contains a line beginning with shells = , followed by all standard systems shells. Put the shell used by the user into this line, and ftp will work.

0 Comments:
Post a Comment
<< Home