Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th September 2010, 13:13
j.smith1981 j.smith1981 is offline
Member
 
Join Date: Nov 2008
Posts: 63
Thanks: 0
Thanked 3 Times in 3 Posts
Question No login (anonymous) for FTP server lost

I stupidly deleted the ftp user in centos 4.8.

When cleaning it up after a try of installing pure-ftp virtual hosting tutorial didnt work.

But for the life of me, cant seem to get that working again, the virtual part works fine, but want to get the user being able to view a list of files and/or folders, without having to login.

Can this account be reinstated somehow?

Can someone help just as soon as possible,
Jeremy.
Reply With Quote
Sponsored Links
  #2  
Old 17th September 2010, 15:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Which tutorial (URL) did you use?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 17th September 2010, 17:29
j.smith1981 j.smith1981 is offline
Member
 
Join Date: Nov 2008
Posts: 63
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Sorry non, but usually pure-ftp makes the ftp user on centos 4.8 when you install it.

But its not for some reason.

Is it possible to recreate it somehow?
Reply With Quote
  #4  
Old 18th September 2010, 13:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

How exactly did you delete the FTP user?

Adding the FTP user line to /etc/passwd might work.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 18th September 2010, 14:55
j.smith1981 j.smith1981 is offline
Member
 
Join Date: Nov 2008
Posts: 63
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Sorry for not replying before.

It was the centos 4.8 virtual hosting with pure-ftp etc...

Using the command userdel -fr ftp.

I thought if I copied the Apache user settings, looked at the apache user, created a new account and just changed the username to ftp and it would work (using webmin though).

But it didnt, any helps great!

Jeremy
Reply With Quote
  #6  
Old 19th September 2010, 15:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by j.smith1981 View Post
I thought if I copied the Apache user settings, looked at the apache user, created a new account and just changed the username to ftp and it would work (using webmin though).
You must also change the user ID and put the user in the right group (I guess it's named ftp as well). Maybe you also have to change the user's homedir.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 20th September 2010, 10:34
j.smith1981 j.smith1981 is offline
Member
 
Join Date: Nov 2008
Posts: 63
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Whats the uid of your ftp user and ftp group falco?

Just to want to see if this works instead, its not working as of trying to add the ftp user and automatically adding the group of the same name.
Reply With Quote
  #8  
Old 21st September 2010, 18:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Unfortunately I don't have a CentOS 4.8 system at hand right now...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User unknown in relay recipient table Taxick Installation/Configuration 12 9th April 2013 12:31
Sending mail ISPConfig 3 but not receivind catza Installation/Configuration 20 19th May 2010 12:47
amavis & ispconfig 3 yalex2000 Installation/Configuration 20 18th February 2010 17:02
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
The Perfect Setup - Debian Etch (Debian 4.0) some trouble daniel80 HOWTO-Related Questions 26 1st February 2008 16:30


All times are GMT +2. The time now is 02:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.