linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ftp login problem using wu-ftpd
@ 2010-06-29 14:16 Stevan Ignjatovic
  2010-06-29 22:02 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Stevan Ignjatovic @ 2010-06-29 14:16 UTC (permalink / raw)
  To: linuxppc-dev

Hi all,

I ported Linux-2.6.30-rc8 on my custom mpc885 board. The filesystem I am
using is jffs2 which I created from
eldk-4.2/ppc_8xx/images/ramdisk_image.gz. Linux boots fine and I can
telnet to the board but I cannot ftp:

# ftp 10.8.1.5
Connected to 10.8.1.5.
220 10.8.1.5 FTP server (Version wu-2.6.2(1) Wed Apr 2 09:10:49 MEST
2008) ready.
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (10.8.1.5:root): root

Here ftp connection hangs. Do I have to create another user (beside
root) in order to make ftp connection? Earlier, when I was using 2.4
linux I didn't have problems with ftp connection as root.


/etc/ftpaccess:
class   all   real,guest,anonymous  *

email root@localhost

loginfails 5

readme  README*    login
readme  README*    cwd=*

message /welcome.msg            login
message .message                cwd=*

compress        yes             all
tar             yes             all
chmod		no		guest,anonymous
delete		no		guest,anonymous
overwrite	no		guest,anonymous
rename		no		guest,anonymous

log transfers anonymous,real inbound,outbound

shutdown /etc/shutmsg

passwd-check rfc822 warn



/etc/xinetd.d/wu-ftpd:
# default: on
# description: The wu-ftpd FTP server serves FTP connections. It uses \
#	normal, unencrypted usernames and passwords for authentication.
service ftp
{
	socket_type		= stream
	wait			= no
	user			= root
	server			= /usr/sbin/in.ftpd
	server_args		= -l -a
	log_on_success		+= DURATION USERID
	log_on_failure		+= USERID
	nice			= 10
	disable			= no
}


/etc/pam.d/ftp:
#%PAM-1.0
auth    include	system-auth
auth       required	/lib/security/pam_listfile.so item=user sense=deny
file=/etc/ftpusers onerr=succeed
auth       required	/lib/security/pam_shells.so
account include	system-auth
session include	system-auth

Thanks in advance.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ftp login problem using wu-ftpd
  2010-06-29 14:16 ftp login problem using wu-ftpd Stevan Ignjatovic
@ 2010-06-29 22:02 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2010-06-29 22:02 UTC (permalink / raw)
  To: Stevan Ignjatovic; +Cc: linuxppc-dev

Dear Stevan Ignjatovic,

In message <1277820991.4257.18.camel@stevan> you wrote:
> 
> I ported Linux-2.6.30-rc8 on my custom mpc885 board. The filesystem I am
> using is jffs2 which I created from
> eldk-4.2/ppc_8xx/images/ramdisk_image.gz. Linux boots fine and I can
> telnet to the board but I cannot ftp:
...
> Here ftp connection hangs. Do I have to create another user (beside
> root) in order to make ftp connection? Earlier, when I was using 2.4
> linux I didn't have problems with ftp connection as root.

check your kernel configuration. You might be missing options like
CONFIG_UNIX98_PTYS or CONFIG_LEGACY_PTYS or similar.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Every program has at least one bug and can be shortened by  at  least
one instruction - from which, by induction, one can deduce that every
program can be reduced to one instruction which doesn't work.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-29 22:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-29 14:16 ftp login problem using wu-ftpd Stevan Ignjatovic
2010-06-29 22:02 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).