Solved

How to reactivate a disabled FTP account ?

Posted on 2003-11-22
5
474 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
Comment Utility
try /etc/ftpusers
or /etc/ftp.d/ftpusers file to control access to users.
0
 

Author Comment

by:carlosmolina100
Comment Utility
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
Comment Utility
try adding
#!/bin/bash to your ftpaccess file and see if it works.
0
 
LVL 24

Accepted Solution

by:
shivsa earned 50 total points
Comment Utility
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
Comment Utility
Thanks Shivsa !
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now