Link to home
Start Free TrialLog in
Avatar of carlosmolina100
carlosmolina100

asked on

How to reactivate a disabled FTP account ?

I'm new in Sun Solaris.  I think it's easy but can't find the answer.  
How could I reactivate and FTP account of a user?. It seems that he type wrong his password many times. Thanks.


Avatar of shivsa
shivsa
Flag of United States of America image

try /etc/ftpusers
or /etc/ftp.d/ftpusers file to control access to users.
Avatar of carlosmolina100
carlosmolina100

ASKER

I found what happened !

The problem began when I installed the bash shell and I put that shell to that user in /etc/passwd :

user1:x:100:1::/home/user1:/usr/local/bin/bash

When I tested changing the shell to /sbin/sh, the ftp login was successful.    

It's important to say that telnet logins were good with bash shell.

Do you know why ?  Thanks

try adding
#!/bin/bash to your ftpaccess file and see if it works.
ASKER CERTIFIED SOLUTION
Avatar of shivsa
shivsa
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Shivsa !