Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2003 10:27:28 -0700
From:      David Bear <David.Bear@asu.edu>
To:        freebsd-questions@freebsd.org
Subject:   ftpchroot issue
Message-ID:  <20030626102728.B30626@asu.edu>

next in thread | raw e-mail | index | archive | help
I want to chroot the 'only' ftp user account that is permitted.  So,
I've put every account in ftpusers EXCEPT the one I want permitted.
So far that works, though the name suggests a reverse logic, ie
ftpusers implies users who MAY ftp in to me... But it wouldn't be the
first time my logic was reversed...

Anyway, I want to chroot the ftp user to a special file system so I
used the ftpchroot file as follows:

=====================
cat /etc/ftpchroot
=====================
#  by db
#  2003-06-25
softsys      /mnt/newdisk/ ./ghosted

====================

This seems consistend with the syntax mentioned in the man page, yet
when I attempt to log in as softsys, I get the message 
===================
Name (XXXX:xxxx): softsys
331 Password required for softsys.
Password:
550 Can't change root.
Login failed.
===================

any advice?

-- 
David Bear
phone: 	480-965-8257
fax: 	480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 "Beware the IP portfolio, everyone will be suspect of trespassing"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030626102728.B30626>