LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Create an FTP user (https://www.linuxquestions.org/questions/linux-newbie-8/create-an-ftp-user-911920/)

dcjones 11-04-2011 05:55 PM

Create an FTP user
 
Hi all,

My server:

Linux Centos 5.x

I have inherited a system some time age but yesterday I had to rebuild the server which all went withour error. Prior to the rebuild I backed up the server but for whatever reason when I came to restore the only user FTP account on the server was not restored. So I now need to reinstate it manually.

The information I do have concerning the account is, I know the clients username and password and the directory to which they had access.

the path to the directory was:

/var/www/vhosts/domain_name/hal

What I now need is how to reinstate access to that directory.

Can anyone please try and help me.

Best regards,

Dereck

j-ray 11-05-2011 04:44 AM

Which FTP server is running?

dcjones 11-06-2011 12:20 PM

Hi and many thanks for replying.

The FTP server is: Proftpd

Cheers,

Dereck

pnmanojshenoy 11-07-2011 04:36 AM

Have you backed up the Proftpd configuration file? also how many users you have to restore?

You can manually create the FTP user account easily if user accounts are less..

dcjones 11-07-2011 05:08 AM

Hi pnmanojshenoy,

Thanks for your reply,

The former technical guy who ran the server did not backup system files only data, thats why he is no longer here.


There is just one user to recreate.

Cheers,

Dereck

pnmanojshenoy 11-08-2011 01:12 AM

Hello,

Go through this link to create the user hope that helps.

http://www.cyberciti.biz/tips/linux-...tp-server.html

JJJCR 11-08-2011 03:51 AM

check out this link that discusses on how to add use on proftp but this one is running on Ubuntu.
http://ubuntuforums.org/showthread.php?t=79588

below is the code to add user from link above:
Quote:

sudo useradd userftp -p your_password -d /home/FTP-shared -s /bin/false
sudo passwd userftp
hope it helps :)


All times are GMT -5. The time now is 08:54 PM.