Solved

How to reactivate a disabled FTP account ?

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
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.

756 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