Solved

How to reactivate a disabled FTP account ?

Posted on 2003-11-22
5
481 Views
Last Modified: 2013-12-27
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.


0
Comment
Question by:carlosmolina100
  • 3
  • 2
5 Comments
 
LVL 24

Expert Comment

by:shivsa
ID: 9808388
try /etc/ftpusers
or /etc/ftp.d/ftpusers file to control access to users.
0
 

Author Comment

by:carlosmolina100
ID: 9812966
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

0
 
LVL 24

Expert Comment

by:shivsa
ID: 9813098
try adding
#!/bin/bash to your ftpaccess file and see if it works.
0
 
LVL 24

Accepted Solution

by:
shivsa earned 50 total points
ID: 9813137
Also do u have entry for bash shell in /etc/shells.

if not then You must add the full pathname to bash to the file /etc/shells. many systems require
this before you can make bash your login shell.

Most versions of ftpd use this file to prohibit `special' users
such as `uucp' and `news' from using FTP.
0
 

Author Comment

by:carlosmolina100
ID: 9813184
Thanks Shivsa !
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question