Solved

How to reactivate a disabled FTP account ?

Posted on 2003-11-22
5
477 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

920 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

18 Experts available now in Live!

Get 1:1 Help Now