#1 (permalink)  
Old 10-17-2004, 04:31 PM
Registered User
 
Join Date: Jan 2003
Posts: 193
wills is on a distinguished road
FTP accounts don't work.

I found out that when our clients create additional FTP accounts and map them to any directory the server rejects the username and password.

The FTP server is running proftpd right now, I switched it to pure-ftpd and the usernames started to work. Any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-17-2004, 04:46 PM
Registered User
 
Join Date: Apr 2004
Posts: 29
Mike2Own
edit proftpd.conf and remove all of the virtual host entries, restart ftpd
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-17-2004, 05:37 PM
Registered User
 
Join Date: Jan 2003
Posts: 193
wills is on a distinguished road
awesome! Thanks that worked.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10-31-2004, 11:14 AM
Registered User
 
Join Date: Oct 2004
Posts: 1
willnot is on a distinguished road
Where would I find that to edit? I know , stupid question....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 10-31-2004, 01:44 PM
sawbuck's Avatar
Registered User
 
Join Date: Jan 2004
Posts: 1,246
sawbuck is on a distinguished road
In /etc/proftpd.conf
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 11-02-2004, 03:02 PM
Registered User
 
Join Date: Sep 2004
Location: Roscoe, IL, USA
Posts: 61
JP-HOST is on a distinguished road
Quote:
Originally Posted by wills
I found out that when our clients create additional FTP accounts and map them to any directory the server rejects the username and password.

The FTP server is running proftpd right now, I switched it to pure-ftpd and the usernames started to work. Any ideas?
I just had this same problem after the update to 9.9.8-C66 last night. I fixed it by running /scripts/ftpup --force

Last edited by JP-HOST; 11-03-2004 at 04:07 AM. Reason: fixed typo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 11-02-2004, 04:32 PM
Registered User
 
Join Date: Dec 2003
Posts: 10
skanwhost
unable to ftp

I also changed to pure-ftpd and now the username and passwords are working again..


Is there a problem with using pure-ftpd instead of proftpd?

What has caused this problem with ftp user access and what can I do to fix it? I have already tried running ' run /script/upftp --force ' but received an error.

Any help would be greatly appreciated.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-03-2004, 12:11 AM
Registered User
 
Join Date: Sep 2004
Location: Roscoe, IL, USA
Posts: 61
JP-HOST is on a distinguished road
Quote:
Originally Posted by skanwhost
I also changed to pure-ftpd and now the username and passwords are working again..


Is there a problem with using pure-ftpd instead of proftpd?

What has caused this problem with ftp user access and what can I do to fix it? I have already tried running ' run /script/upftp --force ' but received an error.

Any help would be greatly appreciated.

Thanks
What error did you get?

Did you run /script/upftp --force or /scripts/upftp --force
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 11-03-2004, 12:49 AM
exo exo is offline
Registered User
 
Join Date: Oct 2003
Posts: 13
exo
Quote:
Originally Posted by JP-HOST
What error did you get?

Did you run /script/upftp --force or /scripts/upftp --force
or /scripts/ftpup --force
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 11-03-2004, 04:06 AM
Registered User
 
Join Date: Sep 2004
Location: Roscoe, IL, USA
Posts: 61
JP-HOST is on a distinguished road
Quote:
Originally Posted by exo
or /scripts/ftpup --force

exo is right, a little typo on my part.... sorry
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 11-03-2004, 09:42 AM
Registered User
 
Join Date: Feb 2004
Posts: 99
challii
What is the chmod value od /etc/proftpd/passwds.vhosts ? Just i had to chmod it (chmodded to 777 at mo to make sure) because no addon accounts would work.

What should this be chmodded to?

edit: Also should we be worried about "User not known to the underlying authentication module." in our logs? (caused by addon ftp accounts)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 11-03-2004, 10:18 AM
Registered User
 
Join Date: Aug 2002
Posts: 1,068
sparek-3 is on a distinguished road
Isn't /etc/proftpd/passwds.vhosts suppose to be owned by root:proftpd ? Whenever I create an FTP account through a user's control panel, the file is reset to root:root ownership. I have run /scripts/ftpup --force and it does not seem to help. I'm running ProFTPD version 1.2.10 and CPanel 9.9.8 Current 66.

Last edited by sparek-3; 11-03-2004 at 10:21 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 11-03-2004, 10:34 AM
cpanelnick's Avatar
cPanel Staff
 
Join Date: Feb 2003
Location: Houston, TX
Posts: 4,303
cpanelnick is on a distinguished road
Quote:
Originally Posted by sparek-3
Isn't /etc/proftpd/passwds.vhosts suppose to be owned by rootroftpd ? Whenever I create an FTP account through a user's control panel, the file is reset to root:root ownership. I have run /scripts/ftpup --force and it does not seem to help. I'm running ProFTPD version 1.2.10 and CPanel 9.9.8 Current 66.

Confirmed.. will be resolved in the next EDGE/CURRENT builds within 30 min.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 11-03-2004, 10:40 AM
Registered User
 
Join Date: Feb 2004
Posts: 99
challii
is this why we were getting vhost errors? what chmod mode should it be?!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 11-03-2004, 10:41 AM
cpanelnick's Avatar
cPanel Staff
 
Join Date: Feb 2003
Location: Houston, TX
Posts: 4,303
cpanelnick is on a distinguished road
Quote:
Originally Posted by challii
is this why we were getting vhost errors? what chmod mode should it be?!

chown root:proftpd /etc/proftpd/passwd.vhosts

(only affects the latest EDGE/CURRENT builds)

if you are running RELEASE/STABLE you are not affected
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:27 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc