Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Proftpd without PAM ?

Status
Not open for further replies.

Joselito

Programmer
Oct 21, 2002
1
CA
Hi,
I'm new to linux and need help with my proftpd server.
I've read alot about it but still cant make it work.

PAM module is not installed (Slackware Linux 8.0) on my system, and not compilled with my proftpd server.

When i use AuthPAM* command in my proftpd.conf, it make fatal error in my syslog and my client ftp timeout. So i've disabled all these directives. (Note that AuthPAMAuthoritative make fatal error too... even if mod_unixpw is compiled in ? module dependencies ?)
The problem begin here, i try to log in with unix user (root group) i've create but it make 530 Login incorrect...
-->telling myself that is normal if PAM is not installed.

So i create "AuthUserFile /etc/ftpd/ftp_user" with format of passwd file.
(cannot set AuthPAMAuthoritative to Off cause it make a fatal error. And i think AuthPAMAuthoritative is default to On, so if unix user not found, it pass over AuthUserFile)
-->Still not work (530)

I finaly remove the alternate AuthUserFile/AuthGroupFile and create a user directly in my proftpd.conf with
"UserPassword myuser dg/R6Adfd.H" (webmin 1.0 creation)
-->Still (530)

Here is some directives of my proftpd.conf (this thread is big enough):
ServerType inetd
User nobody
Group nobody
<global>
IdentLookups off
UserPassword myuser dg/R6Adfd.H
</global>
<Directory /file2/mp3> #one of 3 directory i have (no virtual ser.)
<Limit WRITE>
AllowGroup users root
DenyAll
IgnoreHidden on
</Limit>
</directory>
PersistentPasswd off


Other directives didnt touch login settings or is not present

Thanks
Joselito
-the world is full of new bees that makes flowers expand-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top