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.
How could I reactivate and FTP account of a user?. It seems that he type wrong his password many times. Thanks.
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/loca l/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
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
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.
#!/bin/bash to your ftpaccess file and see if it works.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Shivsa !
or /etc/ftp.d/ftpusers file to control access to users.