FTP Logins won't work. HELP!!! [SOLVED]
-
- Forum Regular
- Posts: 512
- Joined: Mon Mar 10, 2008 9:12 pm
- Location: Southampton, UK
FTP Logins won't work. HELP!!! [SOLVED]
Hi,
I've just noticed that all my FTP logins on my ART secure server are failing due to incorrect details. I reset the passwords in Plesk, and still it won't work.
Help!!!
Matt
I've just noticed that all my FTP logins on my ART secure server are failing due to incorrect details. I reset the passwords in Plesk, and still it won't work.
Help!!!
Matt
Matt
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
-
- Forum Regular
- Posts: 512
- Joined: Mon Mar 10, 2008 9:12 pm
- Location: Southampton, UK
Re: FTP Logins won't work. HELP!!!
Read the post on Plesk forums and ran . Then rebooted, ran and but I still can't log in on any of the ftp accounts.
Matt
Code: Select all
yum update
Code: Select all
asl -u
Code: Select all
asl -s -f
Matt

Matt
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
Re: FTP Logins won't work. HELP!!!
Please tell about the errorlog...
which Error comes up? Or no error? access denied? Which system? ...
which Error comes up? Or no error? access denied? Which system? ...
Thanx to all 
DerFalk

DerFalk
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: FTP Logins won't work. HELP!!!
are you using anon ftp anywhere with quotas turned on?
-
- Forum Regular
- Posts: 512
- Joined: Mon Mar 10, 2008 9:12 pm
- Location: Southampton, UK
Re: FTP Logins won't work. HELP!!!
FTP is the standard Plesk install. It just seems to reject the login details.
The only thing I changed in the FTP was getting rid of the ProFTPD error notifications via OSSEC HIDS emails.
I edited the proftpd config file in the pam.d directory. Commenting out the following lines:-
Then added the following 3 lines to the config file:
Matt
The only thing I changed in the FTP was getting rid of the ProFTPD error notifications via OSSEC HIDS emails.
I edited the proftpd config file in the pam.d directory. Commenting out the following lines:-
Code: Select all
#auth required pam_stack.so service=system-auth
#account required pam_stack.so service=system-auth
#session required pam_stack.so service=system-auth
Code: Select all
auth include system-auth
account include system-auth
session include system-auth
Matt
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
-
- Forum Regular
- Posts: 512
- Joined: Mon Mar 10, 2008 9:12 pm
- Location: Southampton, UK
Re: FTP Logins won't work. HELP!!!
Fixed it.
Originally the config file looked like this:-
Used the following, please tell me if this is wrong Scott:-
I was going to add this line:
But didn't know what it did, so I left it out.
Thanks guys, using Matt Sonnentag and 105547111 over at the Plesk forums did the trick. Linux newbie by the way, so not all up on everything. Now Windows servers and I know what I'm talking about, but needless to say they are not as secure as Linux with ASL running.
Thanks again
Matt
Originally the config file looked like this:-
Code: Select all
#%PAM-1.0M-1.0
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth include system-auth
auth required pam_shells.so
account include system-auth
#session include system-auth
Code: Select all
#%PAM-1.0M-1.0
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth required pam_shells.so
auth include system-auth
account include system-auth
#session include system-auth
session required pam_loginuid.so
Code: Select all
auth required pam_stack.so sevice=system-auth
Thanks guys, using Matt Sonnentag and 105547111 over at the Plesk forums did the trick. Linux newbie by the way, so not all up on everything. Now Windows servers and I know what I'm talking about, but needless to say they are not as secure as Linux with ASL running.
Thanks again

Matt
Matt
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: FTP Logins won't work. HELP!!!
Gotcha, what distro are you using?
-
- Forum Regular
- Posts: 512
- Joined: Mon Mar 10, 2008 9:12 pm
- Location: Southampton, UK
Re: FTP Logins won't work. HELP!!!
Distro, do you mean CentOS version? 5.2
Matt
Matt
Matt
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland
"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"
about.me/mattauckland
twitter.com/mattauckland