Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd December 2008, 18:51
nikro nikro is offline
Junior Member
 
Join Date: Aug 2008
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Default [bug] ftp login and no proper removal

Hello everybody,

I added a new Customer, Web and a user for ftp usage, but logging in failed:
Quote:
Dec 22 18:30:39 hostxxx proftpd[29813] hostxxx.domain.com (login.hostname.com): USER web9_ftp (Login failed): Invalid shell: '/dev/null'
Switching "/dev/null" to "/bin/false" in passwd makes the ftp-login possible.

The second issue appeared when I deleated web9. The users aren't removed in the /etc/passwd and the htdocs-dir in /var/www does still exist, too..
I had a look at the database and found this in del_status:
Code:
id 	doc_id 	doctype_id 	name 	    pfad 	                        web_host 	web_domain 	status
3  	8       1014        web9_test   /var/www/web9/user/web9_test
4 	9       1013        web9        /var/www/web9 	                www      	domain.com 	 
5 	7       1014        web9_ftp    /var/www/web9/user/web9_ftp 	  	  	 
6 	8       1014        web9_test   /var/www/web9/user/web9_test
Is this normal? Should that be done already?

The 3th and last thing is, that when I set the host of a web/domain to www, switch it to www2 and then switch it back to www ispconfig sais that "www" is already in use.

All this things are reproduceable. I'm using ISPConfig-2.2.29 on Debian Etch


Greetings
Reply With Quote
Sponsored Links
  #2  
Old 23rd December 2008, 08:22
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

Quote:
The second issue appeared when I deleated web9.
Did you empty the recyclebin?
Reply With Quote
  #3  
Old 23rd December 2008, 09:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,176
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

Quote:
Switching "/dev/null" to "/bin/false" in passwd makes the ftp-login possible.
/etc/passwd has never to be edited. Instaed you have to enable the FTP checkbox in the website settings.

Quote:
The 3th and last thing is, that when I set the host of a web/domain to www, switch it to www2 and then switch it back to www ispconfig sais that "www" is already in use.
you have to empty the recycle bin if you want to recreate a site that you deleted before.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 24th December 2008, 14:56
nikro nikro is offline
Junior Member
 
Join Date: Aug 2008
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Shame on me, you're so right.. I was just over-worked and need the holidays now..

So thanks for your help and your great and reliable doing on ISPConfig!

Merry Christmas!
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


All times are GMT +2. The time now is 18:43.


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