Package: ftpd Version: 0.17-20 Severity: normal
I have my home directory within an NFS-mounted directory, and logging in I get (just "/" instead of my home dir): [EMAIL PROTECTED]:~$ /usr/bin/ftp asti Connected to asti.maths.usyd.edu.au. 220 asti.maths.usyd.edu.au FTP server (Version 6.4/OpenBSD/Linux-ftpd-0.17) ready. Name (asti:psz): psz 331 Password required for psz. Password: 230- No directory! Logging in with home=/ 230- Linux asti.maths.usyd.edu.au 2.6.8-spm1.5 #1 SMP Mon Jul 17 07:05:34 EST 2006 i686 GNU/Linux 230- 230- The programs included with the Debian GNU/Linux system are free software; 230- the exact distribution terms for each program are described in the 230- individual files in /usr/share/doc/*/copyright. 230- 230- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent 230- permitted by applicable law. 230 User psz logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp> pwd 257 "/" is current directory. ftp> cd /users/amstaff/psz 250 CWD command successful. ftp> pwd 257 "/pisa/users/amstaff/psz" is current directory. ftp> quit 221 Goodbye. [EMAIL PROTECTED]:~$ I do not get this nonsense when logging in to the machine containing my home dir. Settings that may be relevant to ftpd are: [EMAIL PROTECTED]:~$ grep psz /etc/passwd psz:x:1001:1001:Paul Szabo:/users/amstaff/psz:/bin/bash [EMAIL PROTECTED]:~$ ls -l /etc/ftp* -rw-r--r-- 1 root root 76 Apr 18 2002 /etc/ftpchroot -rw-r--r-- 1 root root 91 Apr 18 2002 /etc/ftpusers [EMAIL PROTECTED]:~$ grep . /etc/ftp* /etc/ftpchroot:# /etc/ftpchroot: list of users who needs to be chrooted. See ftpchroot(5). /etc/ftpusers:# /etc/ftpusers: list of users disallowed ftp access. See ftpusers(5). /etc/ftpusers:root /etc/ftpusers:ftp /etc/ftpusers:anonymous [EMAIL PROTECTED]:~$ grep bash /etc/shells /bin/bash /bin/rbash [EMAIL PROTECTED]:~$ and to my home dir (my own trace_path utility): [EMAIL PROTECTED]:~$ trace_path ~ Tracing path /users/amstaff/psz Dir / (users/amstaff/psz to go) Dir /users (amstaff/psz to go) Link /users/amstaff -> /pisa/users/amstaff (psz to go) Dir / (pisa/users/amstaff/psz to go) Dir /pisa (users/amstaff/psz to go) Dir /pisa/users (amstaff/psz to go) Dir /pisa/users/amstaff (psz to go) Dir /pisa/users/amstaff/psz Traversed 7 directories, 1 links [EMAIL PROTECTED]:~$ mount | grep users /dev/sda6 on /usr/users type ext3 (rw,usrquota) pisa:/usr/users on /pisa/users type nfs (rw,bg,rsize=8192,wsize=8192,addr=129.78.69.136) [EMAIL PROTECTED]:~$ Thanks, Paul Szabo [EMAIL PROTECTED] http://www.maths.usyd.edu.au/u/psz/ School of Mathematics and Statistics University of Sydney Australia -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.8-spm1.5 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages ftpd depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libpam-modules 0.76-22 Pluggable Authentication Modules f ii libpam0g 0.76-22 Pluggable Authentication Modules l ii netbase 4.21 Basic TCP/IP networking system -- debconf information: * ftpd/globattack: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]