LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-04-2011, 04:55 PM   #1
dcjones
LQ Newbie
 
Registered: Nov 2010
Posts: 4

Rep: Reputation: 0
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
 
Old 11-05-2011, 03:44 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,419

Rep: Reputation: 99
Which FTP server is running?
 
Old 11-06-2011, 11:20 AM   #3
dcjones
LQ Newbie
 
Registered: Nov 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Hi and many thanks for replying.

The FTP server is: Proftpd

Cheers,

Dereck
 
Old 11-07-2011, 03:36 AM   #4
pnmanojshenoy
Member
 
Registered: Jun 2008
Location: Cochin, India
Distribution: Debian,Ubuntu
Posts: 38

Rep: Reputation: 0
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..
 
Old 11-07-2011, 04:08 AM   #5
dcjones
LQ Newbie
 
Registered: Nov 2010
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 11-08-2011, 12:12 AM   #6
pnmanojshenoy
Member
 
Registered: Jun 2008
Location: Cochin, India
Distribution: Debian,Ubuntu
Posts: 38

Rep: Reputation: 0
Hello,

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

http://www.cyberciti.biz/tips/linux-...tp-server.html
 
Old 11-08-2011, 02:51 AM   #7
JJJCR
Member
 
Registered: Apr 2010
Posts: 550

Rep: Reputation: 26
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create FTP User moata_u Solaris / OpenSolaris 4 03-01-2011 06:31 AM
how to create ftp user id in Centos solutionsdxb Linux - Newbie 7 08-04-2010 12:59 AM
ftp user can't create a directory on ftp server bharatlalgupta Red Hat 4 01-27-2010 01:58 PM
How do I create a new FTP user? lupus6x9 Linux - Newbie 1 09-01-2008 09:15 PM


All times are GMT -5. The time now is 05:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration