Networking Forums

Networking Forums > Computer Networking > Linux Networking > ProFTD on Fedora Linux

Reply
Thread Tools Display Modes

ProFTD on Fedora Linux

 
 
spacemancw
Guest
Posts: n/a

 
      07-30-2006, 08:41 PM
uname -a
Linux .... 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006 i686 i686
i386 GNU/Linux

I have installed ProFTPd on Fedora linux following the directions at:
http://www.howtoforge.com/perfect_se...dora_core_4_p5


yum install proftpd
chkconfig --levels 235 proftpd on
/etc/init.d/proftpd start

Then created the file /etc/pam.d/ftp with the following content:

#%PAM-1.0
auth required pam_unix.so nullok
account required pam_unix.so
session required pam_unix.so

then ran /etc/init.d/proftpd restart

Then from Windows XP command line I get this

P:\>ftp 10.3.2.176
Connected to 10.3.2.176.
220 FTP Server ready.
User (10.3.2.176none)): myname
331 Password required for myname.
Password:
530 Login incorrect.
Login failed.
ftp>


It's not a case of incorrect password. It does this with all accounts
including root.

Is there some other file I need to edit to allow FTP in, or change
permissions somewhere?

Also I want the users to ftp directly into their home directory,
/home/myname

How do I do this?

thanx

Roger McCarrick

 
Reply With Quote
 
 
 
 
888
Guest
Posts: n/a

 
      07-30-2006, 10:01 PM

"spacemancw" <(E-Mail Removed)>
???????:(E-Mail Removed) egroups.com...
> uname -a
> Linux .... 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006 i686 i686
> i386 GNU/Linux
>
> I have installed ProFTPd on Fedora linux following the directions at:
> http://www.howtoforge.com/perfect_se...dora_core_4_p5
>
>
> yum install proftpd
> chkconfig --levels 235 proftpd on
> /etc/init.d/proftpd start
>
> Then created the file /etc/pam.d/ftp with the following content:
>
> #%PAM-1.0
> auth required pam_unix.so nullok
> account required pam_unix.so
> session required pam_unix.so
>
> then ran /etc/init.d/proftpd restart
>
> Then from Windows XP command line I get this
>
> P:\>ftp 10.3.2.176
> Connected to 10.3.2.176.
> 220 FTP Server ready.
> User (10.3.2.176none)): myname
> 331 Password required for myname.
> Password:
> 530 Login incorrect.
> Login failed.
> ftp>
>
>
> It's not a case of incorrect password. It does this with all accounts
> including root.
>
> Is there some other file I need to edit to allow FTP in, or change
> permissions somewhere?


edit proftpd.conf

> Also I want the users to ftp directly into their home directory,
> /home/myname


default setting is directly into their home

> How do I do this?
>
> thanx
>
> Roger McCarrick
>



 
Reply With Quote
 
spacemancw
Guest
Posts: n/a

 
      07-30-2006, 10:11 PM
Thanx for the reply
you say
> edit proftpd.conf

what exactly do I edit?

I also went to www.proftpd.org and copied the basic proftpd.conf file
that they show at
http://www.proftpd.org/docs/configs/basic.conf

still no joy.

thanx
Roger


888 wrote:
> "spacemancw" <(E-Mail Removed)>
> ???????:(E-Mail Removed) egroups.com...
> > uname -a
> > Linux .... 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006 i686 i686
> > i386 GNU/Linux
> >
> > I have installed ProFTPd on Fedora linux following the directions at:
> > http://www.howtoforge.com/perfect_se...dora_core_4_p5
> >
> >
> > yum install proftpd
> > chkconfig --levels 235 proftpd on
> > /etc/init.d/proftpd start
> >
> > Then created the file /etc/pam.d/ftp with the following content:
> >
> > #%PAM-1.0
> > auth required pam_unix.so nullok
> > account required pam_unix.so
> > session required pam_unix.so
> >
> > then ran /etc/init.d/proftpd restart
> >
> > Then from Windows XP command line I get this
> >
> > P:\>ftp 10.3.2.176
> > Connected to 10.3.2.176.
> > 220 FTP Server ready.
> > User (10.3.2.176none)): myname
> > 331 Password required for myname.
> > Password:
> > 530 Login incorrect.
> > Login failed.
> > ftp>
> >
> >
> > It's not a case of incorrect password. It does this with all accounts
> > including root.
> >
> > Is there some other file I need to edit to allow FTP in, or change
> > permissions somewhere?

>
> edit proftpd.conf
>
> > Also I want the users to ftp directly into their home directory,
> > /home/myname

>
> default setting is directly into their home
>
> > How do I do this?
> >
> > thanx
> >
> > Roger McCarrick
> >


 
Reply With Quote
 
888
Guest
Posts: n/a

 
      07-31-2006, 04:12 AM
Maybe your pam wrong, you can reference this page
http://www.castaglia.org/proftpd/doc/README.PAM.html

The /etc/proftpd.conf is setting directory permission


"spacemancw" <(E-Mail Removed)>
???????:(E-Mail Removed) groups.com...
> Thanx for the reply
> you say
>> edit proftpd.conf

> what exactly do I edit?
>
> I also went to www.proftpd.org and copied the basic proftpd.conf file
> that they show at
> http://www.proftpd.org/docs/configs/basic.conf
>
> still no joy.
>
> thanx
> Roger
>
>
> 888 wrote:
>> "spacemancw" <(E-Mail Removed)>
>> ???????:(E-Mail Removed) egroups.com...
>> > uname -a
>> > Linux .... 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006 i686 i686
>> > i386 GNU/Linux
>> >
>> > I have installed ProFTPd on Fedora linux following the directions at:
>> > http://www.howtoforge.com/perfect_se...dora_core_4_p5
>> >
>> >
>> > yum install proftpd
>> > chkconfig --levels 235 proftpd on
>> > /etc/init.d/proftpd start
>> >
>> > Then created the file /etc/pam.d/ftp with the following content:
>> >
>> > #%PAM-1.0
>> > auth required pam_unix.so nullok
>> > account required pam_unix.so
>> > session required pam_unix.so
>> >
>> > then ran /etc/init.d/proftpd restart
>> >
>> > Then from Windows XP command line I get this
>> >
>> > P:\>ftp 10.3.2.176
>> > Connected to 10.3.2.176.
>> > 220 FTP Server ready.
>> > User (10.3.2.176none)): myname
>> > 331 Password required for myname.
>> > Password:
>> > 530 Login incorrect.
>> > Login failed.
>> > ftp>
>> >
>> >
>> > It's not a case of incorrect password. It does this with all accounts
>> > including root.
>> >
>> > Is there some other file I need to edit to allow FTP in, or change
>> > permissions somewhere?

>>
>> edit proftpd.conf
>>
>> > Also I want the users to ftp directly into their home directory,
>> > /home/myname

>>
>> default setting is directly into their home
>>
>> > How do I do this?
>> >
>> > thanx
>> >
>> > Roger McCarrick
>> >

>



 
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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian, Fedora, Redhata Linux? jainarunk@gmail.com Linux Networking 2 11-01-2006 07:41 PM
telnet problem on Fedora Linux smatta@acm.org Linux Networking 4 02-08-2006 06:45 PM
HELP with simple DNS setup Linux Fedora james_irvine Linux Networking 5 01-09-2006 08:49 AM
linux-fedora bk Linux Networking 2 11-18-2005 12:37 PM
Looking to Buy an Orinoco Wireless for Linux Fedora Tory Brown Wireless Internet 1 11-26-2004 03:53 PM



1 2 3 4 5 6 7 8 9 10 11