Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd April 2010, 20:04
dw5304 dw5304 is offline
Junior Member
 
Join Date: Feb 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default ispconfig 2 ftp / ssh issues?

i have a ispconfig server that is just weird.
my clients are trying to change the directory permissions from ftp and they can not.... so then they went to try logging in via ssh and they cant ssh in eather even though it works fine for me. then they tried to tell them to use the web ftp client and they cant see there files from there... only the root folder and nothing else.




proftpd config
Quote:
cat /etc/proftpd.conf
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on

# Port 21 is the standard FTP port.
Port 21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 30

# Set the user and group under which the server will run.
User nobody
Group nobody

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.

DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."


# Normally, we want files to be overwriteable.
AllowOverwrite on

# Bar use of SITE CHMOD by default
#<Limit SITE_CHMOD>
# DenyAll
#</Limit>

# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
User ftp
Group ftp

# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp

# Limit the maximum number of anonymous logins
MaxClients 10

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayChdir .message

# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>


secure log
Quote:
Apr 2 12:51:25 CentOS sshd[32500]: User web5_admin from x.x.x.net not allowed because not listed in AllowUsers
Apr 2 12:51:25 CentOS sshd[32501]: input_userauth_request: invalid user web5_admin
Apr 2 12:51:31 CentOS sshd[32500]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=66.2.miliserv.net user=web5_admin
Apr 2 12:51:33 CentOS sshd[32500]: Failed password for invalid user web5_admin from 168.x.x.2 port 7396 ssh2
Apr 2 12:51:39 CentOS sshd[32500]: Failed password for invalid user web5_admin from 168.x.x.2 port 7396 ssh2
Apr 2 12:51:42 CentOS sshd[32501]: Connection closed by 168.x.x.2
Apr 2 12:51:42 CentOS sshd[32500]: PAM 1 more authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=66.x.x.net user=web5_admin
Apr 2 12:52:00 CentOS sshd[32512]: User web5_admin from 66.x.x.net not allowed because not listed in AllowUsers
Apr 2 12:52:00 CentOS sshd[32513]: input_userauth_request: invalid user web5_admin
Apr 2 12:52:02 CentOS sshd[32512]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=66.2.miliserv.net user=web5_admin
Apr 2 12:52:04 CentOS sshd[32512]: Failed password for invalid user web5_admin from 168.x.x.x port 7397 ssh2
Apr 2 12:52:43 CentOS sshd[32513]: Connection closed by 168.x.x.x
Apr 2 13:01:00 CentOS sshd[336]: Accepted password for root from 168.x.x.x port 8451 ssh2
Apr 2 13:01:00 CentOS sshd[336]: pam_unix(sshd:session): session opened for user root by (uid=0)

Last edited by dw5304; 2nd April 2010 at 20:08.
Reply With Quote
Sponsored Links
  #2  
Old 4th April 2010, 21:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: LŁneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

Did you disable SELinux?
__________________
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 5th April 2010, 16:20
dw5304 dw5304 is offline
Junior Member
 
Join Date: Feb 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes it is.....
Quote:
‚ Security Level: (*) Enabled ( ) Disabled ‚
‚ ‚
‚ SELinux: Enforcing ‚
‚ Permissive ( ) ‚
‚ Disabled (*) ‚
Reply With Quote
  #4  
Old 6th April 2010, 15:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: LŁneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

What's the output of
Code:
getenforce
?
__________________
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 6th April 2010, 16:07
dw5304 dw5304 is offline
Junior Member
 
Join Date: Feb 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

[root@CentOS dns1]# getenforce
Disabled

ok i fixed the ftp issue.

/usr/local/etc/proftpd.conf

had chmod denyall listed....
still not able to use the webftp option in ispconfig.

any idea why that is?

Last edited by dw5304; 6th April 2010 at 22:07.
Reply With Quote
  #6  
Old 7th April 2010, 15:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: LŁneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

Quote:
Originally Posted by dw5304 View Post
still not able to use the webftp option in ispconfig.

any idea why that is?
Any errors in your logs?
__________________
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 7th April 2010, 16:00
dw5304 dw5304 is offline
Junior Member
 
Join Date: Feb 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Apr 7 09:00:04 CentOS proftpd[31628]: CentOS (127.0.0.1[127.0.0.1]) - USER web32_admin: Login successful.
Apr 7 09:00:05 CentOS proftpd[31628]: CentOS (127.0.0.1[127.0.0.1]) - FTP session closed.
Apr 7 09:00:05 CentOS proftpd[31638]: CentOS (127.0.0.1[127.0.0.1]) - USER web32_admin: Login successful.
Apr 7 09:00:05 CentOS proftpd[31638]: CentOS (127.0.0.1[127.0.0.1]) - FTP session closed.
Apr 7 09:00:19 CentOS proftpd[31653]: CentOS (127.0.0.1[127.0.0.1]) - USER web32_admin: Login successful.
Apr 7 09:00:19 CentOS proftpd[31653]: CentOS (127.0.0.1[127.0.0.1]) - FTP session closed.
Code:
  	 	ssl  	4096  	Apr 5 15:17  	[X]
		log 	4096 	Apr 6 05:30 	[X]
		user 	4096 	Apr 6 19:28 	[X]
		cgi-bin 	4096 	Apr 5 15:17 	[X]
		web 	4096 	Apr 6 18:31 	[X]
		phptmp 	4096 	Apr 7 04:59 	[X]
click on web and its blank. no errors that i can see.
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
FTP Issues on ISPConfig3 billcouper81 General 6 3rd February 2010 08:56
Slow download from own FTP (vsftpd + proftpd) Overcrook Installation/Configuration 0 12th January 2010 21:41
Ftp problems timeout reny2000 General 6 23rd December 2009 11:09
ISPConfig installation into multiple OpenVZ containers letezo Installation/Configuration 11 3rd March 2009 22:47
FC4 Setup DNS and ISPCONFIG issues The General Installation/Configuration 7 15th May 2006 09:45


All times are GMT +2. The time now is 14:31.


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